Delete Role Stay organized with collections Save and categorize content based on your preferences.
Version 4.0.26.2 (latest)
Delete the role with a specific id.
Request
DELETE/roles/{role_id}
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
role_id
string
id of role
Response
204: Successfully deleted.
Datatype
Description
(string)
string
400: Bad Request
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
405: Resource Can't Be Modified
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-09 UTC.