List user plugin permission grants
Это руководство доступно только на английском.
GET
Lists explicit dynamic plugin permission overrides for one user, including inactive grants retained for plugins that are not installed.
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
user_id*stringFormat
uuidSuccessful response.
application/json- response
grants*array<>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"
}
]
}Полезна ли эта страница?
