create a machine principal.
POST
Secret API key operationId: create_service_account/v1/service-accounts Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Request body · required
descriptionstringenabledbooleannamestring requiredscopesstring[]
Responses
201 Created
Request
curl -X POST "http://localhost:8080/v1/service-accounts" \
-H "Content-Type: application/json" \
-d '{
"description": "string",
"enabled": false,
"name": "string",
"scopes": [
"string"
]
}'Try it
live requestPOST
http://localhost:8080/v1/service-accounts