ApiPolicies
Authorizations
AuthorizationstringRequired
Enter your bearer token in the format Bearer <token>
Body
namestringRequired
The name of the policy
descriptionstring · nullableOptional
The description of the policy
tagsstring[] · nullableOptional
The tags of the policy
allowPublicAccessbooleanOptional
Determines if public access is allowed
apiKeyNamestringOptional
The name of the API key
apiKeyLocationstring · enumOptionalPossible values:
Responses
201
API policy created
400
API policy is invalid (check for duplicate endpoints)
application/problem+json
409
API policy contains endpoint that is already registered in existing policy
application/problem+json
post
/api/v1/api-policiesNo content
Authorizations
AuthorizationstringRequired
Enter your bearer token in the format Bearer <token>
Path parameters
idinteger · int64Required
API policy identifier
Body
namestringRequired
The name of the policy
descriptionstring · nullableOptional
The description of the policy
tagsstring[] · nullableOptional
The tags of the policy
allowPublicAccessbooleanOptional
Determines if public access is allowed
apiKeyNamestringOptional
The name of the API key
apiKeyLocationstring · enumOptionalPossible values:
Responses
204
API policy updated
400
API policy is invalid
application/problem+json
404
API policy not found
application/problem+json
409
API policy contains endpoint that is already registered in existing policy
application/problem+json
put
/api/v1/api-policies/{id}No content
Last updated
Was this helpful?

