Method: OpenapiClient::ResourceRolesApi#delete_resource_role

Defined in:
lib/openapi_client/api/resource_roles_api.rb

#delete_resource_role(proj_id, env_id, resource_id, role_id, opts = {}) ⇒ nil

Delete Resource Role Deletes the role and all its related data. This includes any permissions granted to said role.

Parameters:

  • Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

  • Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

  • Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the "slug").

  • Either the unique id of the role, or the URL-friendly key of the role (i.e: the "slug").

  • (defaults to: {})

    the optional parameters

Returns:



295
296
297
298
# File 'lib/openapi_client/api/resource_roles_api.rb', line 295

def delete_resource_role(proj_id, env_id, resource_id, role_id, opts = {})
  delete_resource_role_with_http_info(proj_id, env_id, resource_id, role_id, opts)
  nil
end