System
Claim the fresh Postdot instance and optionally mint an initial API key
POST
- body
name*stringLength
1 <= length <= 200email*stringLength
1 <= length <= 320password*stringLength
8 <= length <= 128apiKey?Response for status 201
application/json- response
user*instance*apiKey?curl -X POST 'https://postdot.example/api/instance/bootstrap' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"email": "string",
"password": "stringst"
}'Example Response
{
"user": {
"id": "string",
"name": "string",
"email": "string",
"role": "admin"
},
"instance": {
"state": "claimed",
"claimedByUserId": "string",
"claimedAt": 0
},
"apiKey": {
"key": {
"id": "string",
"name": "string",
"tokenPrefix": "string",
"projectAccess": "all",
"actionAccess": "all",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0
},
"token": "string"
}
}