Skip to content

Archive project-scoped indicator

DELETE
/api/v2/projects/{projectId}/indicators/{indicatorId}
curl --request DELETE \
--url https://localhost:10001/api/v2/projects/example/indicators/example \
--header 'Authorization: <Authorization>'

Archives a project indicator template when it has no non-archived applications

projectId
required
string

Project ID, UUID (urn:uuid optional), or slug:my-project

indicatorId
required
string

Indicator UUID (urn:uuid optional) or slug:my-indicator

Indicator archived

Bad request - Invalid indicator ID format

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
Invalid request body

Unauthorized - Authentication required

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
Invalid request body

Forbidden - No project access or insufficient permissions

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
Invalid request body

Indicator not found

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
Invalid request body

Indicator still has active applications

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
Invalid request body

Internal server error

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
Invalid request body