authz

Revoke a role from a user

Remove one or more roles from a user.

post/authz/users/{id}/revoke

Request

  • Base URL: https://localhost:8080/v1
  • URL: https://localhost:8080/v1/authz/users/{id}/revoke
  • Auth: one of:
    • none
    • OAuth 2 (implicit, authorization URL http://to-be-configured-in-the-application-config)

Path parameters

idstring required

The name of the user.

Request body

rolesstring[]

The roles to revoke from the specified user.

userType'db' | 'oidc'

The type of the user. db users are managed by Weaviate, oidc users are managed by an external OIDC provider.

Response

Roles revoked successfully.

Changes

No recorded changes to this operation across all 1 revision of this API.