GoogleApi.IAM.V1.Api.Organizations.iam_organizations_roles_delete
You're seeing just the function
iam_organizations_roles_delete
, go back to GoogleApi.IAM.V1.Api.Organizations module for more information.
Link to this function
iam_organizations_roles_delete(connection, organizations_id, roles_id, optional_params \\ [], opts \\ [])
View SourceSpecs
iam_organizations_roles_delete( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAM.V1.Model.Role.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes a custom Role. When you delete a custom role, the following changes occur immediately: You cannot bind a member to the custom role in an IAM Policy. Existing bindings to the custom role are not changed, but they have no effect. By default, the response from ListRoles does not include the custom role. You have 7 days to undelete the custom role. After 7 days, the following changes occur: The custom role is permanently deleted and cannot be recovered. * If an IAM policy contains a binding to the custom role, the binding is permanently removed.
Parameters
-
connection
(type:GoogleApi.IAM.V1.Connection.t
) - Connection to server -
organizations_id
(type:String.t
) - Part ofname
. Thename
parameter's value depends on the target resource for the request, namelyprojects
ororganizations
. Each resource type'sname
value format is described below:projects.roles.delete()
:projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}
. This method deletes only custom roles that have been created at the project level. Example request URL:https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}
organizations.roles.delete()
:organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}
. This method deletes only custom roles that have been created at the organization level. Example request URL:https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}
Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. -
roles_id
(type:String.t
) - Part ofname
. See documentation oforganizationsId
. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:etag
(type:String.t
) - Used to perform a consistent read-modify-write.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.IAM.V1.Model.Role{}}
on success -
{:error, info}
on failure