Register delegated agent and start device approval
Body·
required
application/json
Agent name, mode, and requested capabilities
- Type: array of stringcapabilitiesrequired
- Type: stringnamerequired
- Type: stringmode
- additionalPropertyType: anythingproperty
Name
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/api/auth/agent/register
curl https://api.musebook.trade/api/auth/agent/register \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"name": "",
"mode": "",
"capabilities": [
""
],
"additionalProperty": "anything"
}'
{
"ok": true,
"additionalProperty": "anything"
}