Logo
Acronis Cyber Platform's Public API Documentation

Create an API Client

POST {{base_url}}/api/2/clients

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status Created

{ "token_endpoint_auth_method": "client_secret_basic", "created_by": "bfa9d672-35ee-4cad-b987-024d145f7fe3", "redirect_uris": [], "data": { "client_name": "API.Client" }, "status": "enabled", "created_at": "2020-02-26T11:20:39+00:00", "tenant_id": "53b471e1-50dd-4557-ae6d-f687923121d4", "client_secret": "aa6f81cb2b7f4306aeeb16815ea71ef3", "registration_access_token": "5fef399909ca48929c9e8d04350af3e1", "type": "agent", "client_id": "c5597043-98ed-4474-ad09-d90a34513651", "client_secret_expires_at": 0 }



Curl
curl -X POST 'base_url/api/2/clients' -H 'Content-Type: application/json' -d '{"type":"api_client","tenant_id":"my_tenant_id","token_endpoint_auth_method":"client_secret_basic","data":{"client_name":"API.Client"}}'

ENDPOINTS