Creates an entitlement
POST/entitlements/:id
This internal endpoint creates an entitlement using the given entitlement payload
Request
Responses
- 201
- 400
- 401
- 403
- 429
- 500
Returns the created entitlement DTO object.
- Source is missing
- Source schema is missing
- Entitlement value is missing and source schema object type is not of the permission type
- Attribute is missing
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
Internal Server Error - Returned if there is an unexpected error.