plta-permissions-api-cbz

Detach a user from a role

Detaches a user from a role. The caller needs manageRoles over the role’s scope.

delete
https://dev.api.sanofi.com/permissions/roles/{roleName}/members/{userId}

Path Parameters

roleNamestringrequired

The name of the role

userIdstringrequired

The id of the user, as stored in IDP. For Sanofi internal user, it would be the oid (Unique identifier of the user in Azure AD)

Response

Deleted

delete/roles/{roleName}/members/{userId}