Permission Service
Subject Filtering
POST
Lookup Subject endpoint lets you ask questions in form of “Which subjects can do action Y on entity:X?”. As a response of this you’ll get a subject results in a format of string array.
In this endpoint you’ll get directly the IDs’ of the subjects that are authorized in an array.
Path Parameters
Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \“[a-zA-Z0-9-,]+\“, max 64 bytes.
Body
application/json
PermissionLookupSubjectRequest is the request message for the LookupSubject method in the Permission service.
Response
200
application/json
A successful response.
PermissionLookupSubjectResponse is the response message for the LookupSubject method in the Permission service.