Sign in

Remove user roles

documented

Remove roles from a user.

DELETE /api/v2/users/{id}/rolesManagement APIno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{AUTH0_DOMAIN}}/api/v2/users/{{$user_id}}/roles" -X DELETE -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"roles": {{$roles}}}'