Skip to main content
POST
/
{org}
/
repos
/
bulk
/
metadata
Bulk set or remove metadata
curl --request POST \
  --url https://api.mesa.dev/api/v1/{org}/repos/bulk/metadata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repo_ids": [
    "<string>"
  ],
  "action": "set",
  "key": "<string>",
  "value": "<string>"
}
'
{
  "updated": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org
string
required

Body

application/json
repo_ids
string[]
required
Required array length: 1 - 100 elements
action
enum<string>
required
Available options:
set,
remove
key
string
required
Minimum string length: 1
value
string

Response

Updated count

updated
number
required