v1

latestOpenAPI 3.0.32026-07-17502149.6 KB
Access Keys

Update access key

Updates an existing access key's properties

patch/accessKeys/{accessKeyName}

Path parameters

accessKeyNamestring required

Access key friendly name or generated name

Request body

friendlyNamestring
descriptionstring
ttlinteger

Time-to-live in milliseconds

scopestring

Example request

{
  "friendlyName": "CI/CD Key",
  "ttl": 5184000000
}

Response

Access key updated

Example response

{
  "accessKey": {
    "name": "(hidden)",
    "friendlyName": "VSTS Integration"
  }
}