POST/organization/projects/{project_id}/certificates/activate

Activate certificates for a project

Activates certificates for a project. Supply between 1 and 10 certificate IDs; the operation is atomic and idempotent. The response contains the certificates with their updated activation state.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter · 1 body field
project_idstringrequired
The unique identifier of the project whose certificates to activate.

Certificate activation request containing the IDs of 1 to 10 certificates.

certificate_idsarray<string>required
IDs of the certificates to activate. The array must contain at least 1 and at most 10 IDs.

6 status codes
200Returns the activation result and an array of the affected project certificate objects.
objectstringrequired
The project certificate activation result type.
Allowed:organization.project.certificate.activation
dataarray<object>required
400Returned when request parameters are invalid or the requested operation cannot be performed.
errorobjectrequired
403Returned when the authenticated user does not have permission to activate certificates for the project.
errorobjectrequired
Details about the permission error.
404Returned when a certificate is not found in the organization.
errorobjectrequired
429Returned when the request exceeds a rate limit.
errorobjectrequired
500Returned when a server error prevents the certificate update from completing.
errorobjectrequired

Error handling

A 400 is returned when request parameters are invalid or the operation cannot be performed; a 403 is returned when the authenticated user lacks permission; a 404 is returned when a certificate is not found in the organization; a 429 is returned when a rate limit is exceeded; and a 500 is returned when a server error prevents the update. The project_id path parameter must identify the project to update. certificate_ids is required and must contain between 1 and 10 certificate IDs.