v1

latestOpenAPI 3.0.32026-07-17502149.6 KB
Access Keys

Create access key

Creates a new access key for API authentication

post/accessKeys

Request body

friendlyNamestring
descriptionstring
ttlinteger

Time-to-live in milliseconds

scopestring

Example request

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

Response

Access key created

Example response

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