Skip to main content
POST
/
{site}
/
credentials
Create (rotate) new credentials
curl --request POST \
  --url https://api.altostrat.io/{site}/credentials \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "username": "<string>",
  "password": "<string>",
  "ip_address": "<string>",
  "deleted_at": "<string>",
  "api_port": 123,
  "server_ip": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

site
string<uuid>
required

UUID of the site

Response

New credentials created

id
string<uuid>
site_id
string<uuid>
username
string
password
string
ip_address
string

Tunnel IP if available

deleted_at
string | null
api_port
integer | null
server_ip
string | null
created_at
string<date-time>
updated_at
string<date-time>
I