Secret API key bound to an environment.
In: header
Header Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/autonomy_policy"{ "environment_id": "string", "runtime_class": "sandbox", "mode": "auto", "effective_mode": "auto", "limits": { "max_award_per_grant": "string", "max_liability_per_currency": "string", "max_issuances": "string", "max_customers_affected": "string", "max_stock_units": "string", "max_codes": "string" }, "default_limits": { "max_award_per_grant": "string", "max_liability_per_currency": "string", "max_issuances": "string", "max_customers_affected": "string", "max_stock_units": "string", "max_codes": "string" }, "configurable": true, "version": -9007199254740991, "updated_at": "string", "updated_by": "string", "confirmation": { "csrf_token": "string" }}Authorization
session Browser session; local and staging use their configured runtime cookie prefix.
In: cookie
Header Parameters
Required. Official clients generate a UUID when omitted by the caller.
1 <= length <= 255Required revision, checked in the owning transaction.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/autonomy_policy" \ -H "Idempotency-Key: string" \ -H "X-Orishare-Environment: string" \ -H "If-Match: string" \ -H "Content-Type: application/json" \ -d '{ "mode": "limits" }'{ "environment_id": "string", "runtime_class": "sandbox", "mode": "auto", "effective_mode": "auto", "limits": { "max_award_per_grant": "string", "max_liability_per_currency": "string", "max_issuances": "string", "max_customers_affected": "string", "max_stock_units": "string", "max_codes": "string" }, "default_limits": { "max_award_per_grant": "string", "max_liability_per_currency": "string", "max_issuances": "string", "max_customers_affected": "string", "max_stock_units": "string", "max_codes": "string" }, "configurable": true, "version": -9007199254740991, "updated_at": "string", "updated_by": "string"}