Removing the Permissions of a User Group Associated with an Enterprise Project
Function Description
This API is used to remove the permissions of a user group associated with an enterprise project.
This API can be invoked using the global domain name iam.myhuaweicloud.eu.
![](https://support.huaweicloud.com/eu/api-iam/public_sys-resources/note_3.0-en-us.png)
This API will be deprecated soon. Please use the API described in Removing Permissions of a User Group Associated with an Enterprise Project instead.
URI
- URI format
DELETE /v3.0/OS-PAP/enterprise-projects/{enterprise_project_id}/groups/{group_id}/roles/{role_id}
- URI parameter description
Parameter
Mandatory
Type
Description
enterprise_project_id
Yes
String
ID of an enterprise project.
group_id
Yes
String
ID of a user group.
role_id
Yes
String
ID of a role (policy) associated with the user group.
Request
- Request header parameter description
Parameter
Mandatory
Type
Description
X-Auth-Token
Yes
String
Authenticated token with Security Administrator permissions.
Content-Type
Yes
String
Fill application/json;charset=utf8 in this field.
- Sample request
curl -i -k -H "X-Auth-Token:$token" -H 'Content-Type:application/json;charset=utf8' -X DELETE https://iam.myhuaweicloud.eu/v3.0/OS-PAP/enterprise-projects/535fb147-6148-4c71-a679-b79a2cb0e.../groups/10d8104f395d43468094753f28692.../roles/013ad036ee4c4d108327f02cbb479...
Response
No response body.
Status Codes
Status Code |
Description |
---|---|
204 |
The request is successful. |
400 |
The server failed to process the request. |
401 |
You must enter a username and password to access the requested page. |
403 |
Access denied. |
404 |
The server could not find the requested page. |
500 |
Internal server error. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.