Deleting Permissions Templates in Batches
Function
Delete permissions templates in batches.
Authorization Information
No identity policy-based permission required for calling this API.
URI
POST /koodrive/ose/v1/permission/template/delete
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
Authorization |
Yes |
String |
The format is Bearer {app_access_token}. The application-level token needs to be passed for calling by an application server. The token is obtained by calling an API using clientid and clientSecret obtained during application creation. |
|
X-User-Id |
Yes |
String |
User ID, which is used for app authentication. |
|
X-Date |
Yes |
String |
Date, which is used for app authentication. |
|
Host |
No |
String |
Address, which is used for app authentication. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
ids |
Yes |
Array of longs |
Permissions template ID list. 1 ≤ size ≤ 100 |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
String |
Error code. |
|
msg |
String |
Error message. |
Example Requests
/koodrive/ose/v1/permission/template/delete
{
"ids" : [ "1590626552448551681" ]
}
Example Responses
Status code: 200
Response body.
{
"code" : 0,
"msg" : "Successful."
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Response body. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot