POST
/
{site}
/
transient-accesses
curl --request POST \
  --url https://api.altostrat.io/{site}/transient-accesses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "expire_after_minutes": 123,
  "type": "winbox",
  "full_access": true,
  "access_type": "read",
  "allow_rfc1918": true,
  "allow_only_cidr": "<string>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "username": "<string>",
  "password": "<string>",
  "port": 123,
  "type": "<string>",
  "full_access": true,
  "access_type": "<string>",
  "allow_rfc1918": true,
  "expires_at": "2023-11-07T05:31:56Z",
  "expired": true,
  "revoked_early": true,
  "entry_point": "<string>",
  "time_to_expire": "<string>",
  "onclick": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

site
string
required

The site UUID

Body

application/json

Transient access fields (type, expire time, etc.)

The body is of type object.

Response

201
application/json

Transient access created

The response is of type object.