Update an API's tags
PUT {{baseUrl}}/apis/{{apiUid}}/tags
Gets all the tags associated with an API. This endpoint replaces all existing tags with those you pass in the request body.
Note:
- You can only add a maximum of five tags to an API.
Tags must be between 2 and 64 characters long.
Tags must follow the
^[a-z][a-z0-9-]\\\\\*[a-z0-9]+$
pattern.
Request Body
{"tags"=>[{"slug"=>"{{tagName}}"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"tags":[{"slug":"needs-review"}]}