Method: OpenapiClient::RolesApi#remove_permissions_from_role

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

#remove_permissions_from_role(proj_id, env_id, role_id, remove_role_permissions, opts = {}) ⇒ RoleRead

Remove Permissions From Role Remove permissions from role. If some of the permissions specified are already unassigned, will skip them.

Parameters:

  • proj_id (String)

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

  • env_id (String)

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

  • role_id (String)

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

  • remove_role_permissions (RemoveRolePermissions)
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



595
596
597
598
# File 'lib/openapi_client/api/roles_api.rb', line 595

def remove_permissions_from_role(proj_id, env_id, role_id, remove_role_permissions, opts = {})
  data, _status_code, _headers = remove_permissions_from_role_with_http_info(proj_id, env_id, role_id, remove_role_permissions, opts)
  data
end