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