PATCH
/
repos
/
{repo_id}
/
tags
/
{tag_id}
curl --request PATCH \
  --url https://api.diversion.dev/v0/repos/{repo_id}/tags/{tag_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "commit_id": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128
Example:

"example_id"

tag_id
string
required

Tag identifier

Required string length: 3 - 128
Example:

"dv.tag.12a37e91-bfc4-4e03-a330-13b5b84ab7cb"

Body

application/json
name
string

Display name of the tag

description
string

More information about the tag

commit_id
string

Commit ID that the tag references

Response

204
_mintlify/placeholder

Request completed successfully