Disabling and Enabling an Application
Function
This API is used to disable or enable an application.
Calling Method
For details, see Calling APIs.
URI
PUT /v1/applications/{app_id}/disable
Parameter | Mandatory | Type | Description |
|---|---|---|---|
app_id | Yes | String | Application ID |
Request Parameters
Parameter | Mandatory | Type | Description |
|---|---|---|---|
X-Auth-Token | Yes | String | User token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token. |
Parameter | Mandatory | Type | Description |
|---|---|---|---|
is_disable | Yes | Boolean | true: Disable. false: Enable. |
Response Parameters
Status code: 200
Parameter | Type | Description |
|---|---|---|
status | String | Request success or failure status |
Example Requests
https://{endpoint}/v1/applications/dbc0305b030f41ce866739c3331166ff/disable
{
"is_disable" : true
} Example Responses
Status code: 200
OK: The request is successful.
{
"status" : "success"
} Status Codes
Status Code | Description |
|---|---|
200 | OK: The request is successful. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

