Skip to content

Updates the given project

patch/v1/projects/{ref}

OAuth scopes

  • projects:write

The fine-grained token must include the following permissions to access this endpoint:

  • project_admin_write

Path parameters

  • ref
    Required
    string

    Project ref

Body

  • name
    Required
    string

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

{
"id": -9007199254740991,
"ref": "lorem",
"name": "lorem"
}
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"ref": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"ref",
"name"
]
}