UpdateService
Updates the application observability service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:UpdateService |
update |
*Service
|
None | None |
Request syntax
PUT /workspace/{workspace}/service/{serviceId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The workspace name. |
workspace-test |
| serviceId |
string |
Yes |
The service ID. |
cwzxvuc6uo@4bc6b15ad81f166174ffb |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body parameters. |
|
| displayName |
string |
No |
The display name. This parameter is valid only when serviceType is set to RUM. |
api-monitor-test |
| description |
string |
No |
The service description. This parameter is valid only when serviceType is set to RUM. |
test |
| attributes |
string |
No |
The extended attributes. |
{"language":"java"} |
| serviceStatus |
string |
No |
The service status. This parameter is valid only when serviceType is set to RUM. |
Stopped |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
123-0F43-23423-AC43-34234 |
| serviceId |
string |
The service ID. |
em87vd@c2e25bcfe0e21ce0*** |
Examples
Success response
JSON format
{
"requestId": "123-0F43-23423-AC43-34234",
"serviceId": "em87vd@c2e25bcfe0e21ce0***"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.