All Products
Search
Document Center

Simple Log Service:UpdateResourceRecord

Last Updated:Sep 02, 2026

Updates a specified resource record.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

PUT /resources/{resourceName}/records/{recordId} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

resourceName

string

Yes

The resource name.

sls.alert.user

recordId

string

Yes

The record ID. The ID in the request body is not used as a locator.

record-001

Request parameters

Parameter

Type

Required

Description

Example

body ResourceRecord

Yes

The updated resource record content.

Response elements

Element

Type

Description

Example

None defined.

Examples

Success response

JSON format

{}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.