Avisi cloud logo
Observability

Create new monitoring tenant token.

POST
/api/v1/orgs/{organisationSlug}/monitoring/{tenantSlug}/tokens

Path Parameters

organisationSlugstring
Match^[a-z0-9-_]+$
tenantSlugstring
Match^[a-z0-9-_]+$
displayName?string
ipWhiteList?string
scopes?CreateAccessTokenScopes

Response Body

curl -X POST "https://api.avisi.cloud/api/v1/orgs/string/monitoring/string/tokens" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "id": 0,
  "displayName": "string",
  "token": "string",
  "ipWhiteList": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "lastUsedAt": "2019-08-24T14:15:22Z"
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}