API Stability Short-Term

The updateRepositoryUsageTag() GraphQL mutation is used to change the usage tag of a repository in LogScale.

For information on creating a repository, see the Creating a Repository or View documentation page. You may also want to look at the Repositories & Views and Repositories pages for related information.

Syntax

Below is the syntax for the updateRepositoryUsageTag() mutation field:

graphql
updateRepositoryUsageTag(
     name: string!, 
     usageTag: string!
   ): boolean!

There are no special datatypes for this mutation field.

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  updateRepositoryUsageTag(
       name: "Testeroo",
       usageTag: "new-tag"
  )
}
Example Responses
Show:
json
{
  "data": {
    "updateRepositoryUsageTag": true
  }
}