cURL
curl --request POST \ --url https://api.devin.ai/v3beta1/enterprise/service-users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "role_id": "<string>", "ttl_seconds": 123 } '
{ "service_user": { "expires_at": 123, "name": "<string>", "role_assignments": [ { "role": { "role_id": "<string>", "role_name": "<string>", "role_type": "enterprise" }, "org_id": "<string>" } ], "service_user_id": "<string>" }, "token": "<string>" }
ManageAccountServiceUsers
role_id
Service User credential (prefix: cog_)
1 - 256
1
x <= 31536000
Successful Response
Show child attributes
The API token for the service user. This is only shown once at creation time.