Method: OpenapiClient::ResourceRolesApi#remove_parent_resource_role
- Defined in:
- lib/openapi_client/api/resource_roles_api.rb
#remove_parent_resource_role(proj_id, env_id, resource_id, role_id, parent_role_id, opts = {}) ⇒ ResourceRoleRead
Remove Parent Role This endpoint is part of the role hierarchy feature. Removes ‘parent_role_id` from the list of parent roles of role with id `role_id`. In other words, `role_id` will no longer be automatically assigned permissions that are granted to `parent_role_id`. We can say the `role_id` **not longer extends** `parent_role_id` or **no longer inherits** from `parent_role_id`. Both roles must be defined on the same resource, identified by id `resource_id`.
551 552 553 554 |
# File 'lib/openapi_client/api/resource_roles_api.rb', line 551 def remove_parent_resource_role(proj_id, env_id, resource_id, role_id, parent_role_id, opts = {}) data, _status_code, _headers = remove_parent_resource_role_with_http_info(proj_id, env_id, resource_id, role_id, parent_role_id, opts) data end |