Skip to main content

Has Permission

POST 

/user-svc/self/has/:permission

Checks whether the caller has a specific permission. Optimized for caching — only the caller and the permission are required. To assign a permission to a user or role, use the Save Permits endpoint.

This endpoint does not return 401 Unauthorized if access is denied. Instead, it always returns 200 OK with Authorized: false if the permission is missing. The response will still include the caller’s user information if not authorized.

Request

Responses

OK