Modifying Application Information
Function
This API is used to modify application information based on the application ID.
URI
PUT /v2/{project_id}/cas/applications/{application_id}
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| project_id | String | Yes | Tenant's project ID. |
| application_id | String | Yes | Application ID. |
Request Parameters
Request parameters
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| name | String | No | Application name. |
| description | String | No | Application description. |
Response Parameters
Response parameters
| Parameter | Type | Description |
|---|---|---|
| id | String | Application ID. |
| name | String | Application name. |
| description | String | Application description. |
| creator | String | Creator. |
| project_id | String | Project ID. |
| enterprise_project_id | String | Enterprise project ID. |
| create_time | Integer | Creation time. |
| update_time | Integer | Update time. |
Example
Example request
{
"name": "TestApp",
"description": "description"
} Example response
{
"id": "06cf2fda-af45-44b4-9e22-6294c4804515",
"name": "TestApp",
"description": "description",
"creator": "string",
"project_id": "bf8523d898b64e4eb956e3be3555ca16",
"enterprise_project_id": "0",
"create_time": 1578984171041,
"update_time": 1578984171041
} Status Code
| HTTP Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Error code must be in the format of SVCSTG.00100.[Error_ID]. Example: SVCSTG.00100400. See Error Codes of Application Management APIs.
Last Article: Obtaining All Applications
Next Article: Deleting an Application Based on the Application ID
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.