API referenceManagement API
Capabilities
POST
Turn off the instance's Fine-Grained Authorization capability. Refused with capability_in_use (409) while the instance has custom resource types.
header
x-pontive-instance-id<token>Instance ID for the request
OK
application/json- response
capabilities?curl -X POST 'https://api.us.pontive.com/v1/capabilities/fga/disable'Example Response
{ "capabilities": { "billing": { "enabled": true }, "fga": { "enabled": true } }}POST
Turn on the instance's Fine-Grained Authorization capability: custom resource types and everything built on them. Needs a Pontive user who may manage the instance.
header
x-pontive-instance-id<token>Instance ID for the request
OK
application/json- response
capabilities?curl -X POST 'https://api.us.pontive.com/v1/capabilities/fga/enable'Example Response
{ "capabilities": { "billing": { "enabled": true }, "fga": { "enabled": true } }}