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 has no body data.

Authorizations

Authorization
string
headerrequired

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.

tag_id
string
required

Tag identifier

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