Skip to content

Activate project indicator application

POST
/api/v2/projects/{projectId}/indicator-applications/{applicationId}/enable
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

projectId
required
string

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

applicationId
required
string

Application ID or UUID (urn:uuid optional)

Activated indicator application

Media type application/json

An indicator application reduced to its identity and status

object
applicationUuid

Urn:uuid form

string
appliedPolicyControlId
integer
createdAt
string format: date-time
id
integer
indicatorId

Urn:uuid form

string
lastEvaluatedAt
string format: date-time
status
string
Allowed values: active disabled archived
updatedAt
string format: date-time
Example
{
"status": "active"
}

Bad request - Invalid application ID or application outside project

Media type application/json

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

object
error
string
Example
{
"error": "Invalid request body"
}

Unauthorized - Authentication required

Media type application/json

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

object
error
string
Example
{
"error": "Invalid request body"
}

Forbidden - No project access or insufficient permissions

Media type application/json

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

object
error
string
Example
{
"error": "Invalid request body"
}

Indicator application not found

Media type application/json

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

object
error
string
Example
{
"error": "Invalid request body"
}

Internal server error

Media type application/json

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

object
error
string
Example
{
"error": "Invalid request body"
}