Delete user plugin permission grant
Это руководство доступно только на английском.
DELETE
Removes one explicit override so the plugin permission's default grant policy applies again.
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
user_id*stringFormat
uuidpermission_id*stringscope*stringThe scope in which a plugin permission is evaluated.
Value in
"PLUGIN_PERMISSION_SCOPE_UNSPECIFIED""PLUGIN_PERMISSION_SCOPE_GLOBAL""PLUGIN_PERMISSION_SCOPE_INSTANCE""PLUGIN_PERMISSION_SCOPE_BOT""PLUGIN_PERMISSION_SCOPE_TASK"resource_id?|Format
uuidSuccessful response.
application/json- response
curl -X DELETE 'http://127.0.0.1:38765/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/plugin-permissions/string?scope=PLUGIN_PERMISSION_SCOPE_UNSPECIFIED'Example Response
{}Полезна ли эта страница?
