Activate project indicator application
const url = 'https://localhost:10001/api/v2/projects/example/indicator-applications/example/enable';const options = {method: 'POST', 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 POST \ --url https://localhost:10001/api/v2/projects/example/indicator-applications/example/enable \ --header 'Authorization: <Authorization>'Sets a project indicator application to active so it logs executions and returns the updated row
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Project ID, UUID (urn:uuid optional), or slug:my-project
Application ID or UUID (urn:uuid optional)
Responses
Section titled “ Responses ”Activated indicator application
An indicator application reduced to its identity and status
object
Urn:uuid form
Urn:uuid form
Example
{ "status": "active"}Bad request - Invalid application ID or application outside project
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Unauthorized - Authentication required
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "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
Example
{ "error": "Invalid request body"}Indicator application not found
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Internal server error
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}