cURL
curl --request POST \ --url https://api.devin.ai/v3beta1/enterprise/members/service-users/{service_user_id} \ --header 'Content-Type: application/json' \ --data '{ "role_id": "<string>" }'
{ "service_user_id": "<string>", "name": "<string>", "role_assignments": [ { "role": { "role_name": "<string>", "role_id": "<string>", "role_type": "enterprise" }, "org_id": "<string>" } ] }
Assign enterprise role to service user.
Successful Response
Show child attributes