- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Soft deletes a role. The role is suspended and cannot be used to create new IAM Policy Bindings. The Role will not be included in
showDeleted is set in the
ListRolesRequest. The Role contains the deleted boolean set. Existing Bindings remains, but are inactive. The Role can be undeleted within 7 days. After 7 days the Role is deleted and all Bindings associated with the role are removed.
The URL uses Google API HTTP annotation syntax.
The resource name of the role in one of the following formats:
Authorization requires the following Google IAM permission on the specified resource
Used to perform a consistent read-modify-write.
A base64-encoded string.
The request body must be empty.
If successful, the response body contains an instance of
Requires one of the following OAuth scopes:
For more information, see the Authentication Overview.