Archive project-scoped indicator
const url = 'https://localhost:10001/api/v2/projects/example/indicators/example';const options = {method: 'DELETE', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Project ID, UUID (urn:uuid optional), or slug:my-project
Indicator UUID (urn:uuid optional) or slug:my-indicator
Responses
Section titled “ Responses ”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
Example
Invalid request bodyUnauthorized - Authentication required
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
Invalid request bodyForbidden - No project access or insufficient permissions
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
Invalid request bodyIndicator not found
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
Invalid request bodyIndicator still has active applications
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
Invalid request bodyInternal server error
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
Invalid request body