POST
/
{site}
/
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
required

UUID of the site

Response

200
application/json

New credentials created

The response is of type object.