Skip to content

Get a single rotation-policy by id

GET
/rotation-policies/{id}
id
required
string

DocumentId

OK

object
data
object
credential
One of:

DocumentId reference to api::cloud-credential.cloud-credential

string
organisation
One of:

DocumentId reference to api::organisation.organisation

string
rotation_interval_days
integer
enabled
boolean
last_rotated_at
string format: date-time
next_rotation_at
string format: date-time
notify_before_days
integer
status
string
Allowed values: active pending_rotation expired disabled
notes
string
name
required
string
secret_type
required
string
Allowed values: db_password api_key tls_cert byoc_credential
target_resource_id
string
target_resource_type
string
interval_days
integer
auto_apply
boolean
notification_target
string
last_rotation_status
string
Allowed values: success failed pending not_run
last_rotation_error
string
is_enabled
boolean
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found