TagSupabaseProject

更新时间:
复制 MD 格式

Adds tags to Supabase project instances.

Operation description

Adds or overwrites tags on one or more Supabase instances. If a specified tag key already exists, its value is overwritten with the new value.

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

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID. You can call the DescribeRegions operation to query available region IDs.

cn-hangzhou

ResourceType

string

No

The resource type. Set this parameter to instance.

instance

ResourceId

array

No

The IDs of the instances. You can specify up to 50 instance IDs.

string

No

An instance ID.

gp-2zev51nt17074****

Tag

array<object>

No

The tags to add. You can specify up to 20 tags.

object

No

A tag, which consists of a key and a value.

Key

string

No

The tag key. The key cannot be empty and can be up to 64 characters long. It cannot start with aliyun or acs:, or contain http:// or https://.

test-key

Value

string

No

The tag value. The value can be empty or up to 128 characters long. It cannot contain http:// or https://.

test-value

Response elements

Element

Type

Description

Example

object

The returned data.

RequestId

string

The request ID.

B4CAF581-2AC7-41AD-8940-D56DF7AADF5B

Examples

Success response

JSON format

{
  "RequestId": "B4CAF581-2AC7-41AD-8940-D56DF7AADF5B"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.