Skip to main content
PATCH
Update a tag

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

id
integer
required

Tag ID

Body

application/json
name
string

Tag name. Trimmed; must be unique ignoring case.

Maximum string length: 50
Example:

"SS27"

color
string | null

One of gray, blue, green, yellow, orange, red, purple, pink. Anything else becomes gray.

Maximum string length: 20
Example:

"green"

Response

Tag updated

data
object

A Drive tag.