Pria UI now available in Dark mode !
cURL
curl --request POST \ --url http://localhost:3000/api/admin/account \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "name": "<string>", "description": "<string>", "status": "active", "credits": 123 } '
{ "success": true, "data": { "_id": "<string>", "name": "<string>", "description": "<string>", "status": "active", "credits": 123, "created": "2023-11-07T05:31:56Z" } }
Creates a new account in the system
JWT token passed in x-access-token header
Account name
Account description
active
inactive
Initial credits
Account created successfully
Show child attributes
Was this page helpful?