POST
/
api
/
v1
/
agents
/
set-password
Set Password
curl --request POST \
  --url http://localhost:8080/api/v1/agents/set-password \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "token": "<string>",
  "password": "<string>"
}'
{
  "status": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>

Body

application/json

New password details

The body is of type object.

Response

200
application/json

Password set successfully

The response is of type object.