Create API-key policy revision
Appends an immutable rule snapshot to an API-key control profile without activating it.
Path parameters
API key identifier.
API key identifier.
Headers
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Request body
Example request
{
"defaultAction": "deny"
}Response
API-key control profile revision created
Example response
{
"data": {
"revision": {
"createdAt": "2025-01-01T00:00:00.000Z",
"activatedAt": "2025-01-01T00:00:00.000Z"
}
},
"meta": {
"requestId": "req_example",
"timestamp": "2025-01-01T00:00:00.000Z"
}
}Changes
Changed in 3 of the 13 revisions of this API.454
- ▲
removed
subschema #2subschema #6from the/request propertyoneOflistrequest-property-one-of-removed
- ▲
added
subschema #2subschema #6to the///response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added
subschema #2subschema #6to the/request propertyoneOflistrequest-property-one-of-added
- ○
removed
subschema #2subschema #6from the///response propertyoneOflist for the response statusresponse-property-one-of-removed
- ▲
- ▲
removed
subschema #1subschema #2subschema #6from the/request propertyoneOflistrequest-property-one-of-removed
- ▲
added
subschema #1subschema #2subschema #6to the///response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added
subschema #1subschema #2subschema #6to the/request propertyoneOflistrequest-property-one-of-added
- ○
removed
subschema #1subschema #2subschema #6from the///response propertyoneOflist for the response statusresponse-property-one-of-removed
- ▲
- ●
added the new
SERVICE_UNAVAILABLEenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to the/response property for the response statusresponse-property-enum-value-added
- ●