Zum Inhalt springen
SoulFire LogoSoulFire

List user plugin permission grants

Diese Anleitung gibt es nur auf Englisch.

GET
/v1/users/{user_id}/plugin-permissions

Lists explicit dynamic plugin permission overrides for one user, including inactive grants retained for plugins that are not installed.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Path Parameters

user_id*string
Formatuuid

Response Body

Successful response.

application/json
  1. response
grants*array<>
Example Request
curl -X GET 'http://127.0.0.1:38765/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/plugin-permissions'
Example Response
{  "grants": [    {      "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",      "permissionId": "string",      "scope": "PLUGIN_PERMISSION_SCOPE_UNSPECIFIED",      "resourceId": "string",      "granted": true,      "active": true,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}

War diese Seite hilfreich?