Projects

Update a project

Changes only the fields you send. escalation_path_ids replaces the project's paths; send [] to remove them all.

patch/projects/{project}

Request

  • Base URL
    https://api.spectate.net/v1
  • Auth
    HTTP bearer

Path parameters

projectstring uuid required

Project ID.

Request body

namestring

Project name

escalation_path_idsstring[]

Escalation paths for alerts of the project's monitors and hosts; replaces the current list. Send [] for none

Example request

{
  "name": "Production"
}

Response

The updated project.

idstring uuid required

Project ID

namestring required

Project name

is_defaultboolean required

Whether this is the team's default project, which new monitors and hosts join when no project is given. It can't be deleted

created_atstring date-time required

When the project was created

Example response

{
  "name": "Production",
  "escalation_paths": [
    {
      "name": "On-call engineers"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.