cURL
curl --request PATCH \ --url https://api.devin.ai/v3beta1/enterprise/organizations/{org_id}/members/service-users/{service_user_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "role_id": "<string>" } '
{ "expires_at": 123, "name": "<string>", "role_assignments": [ { "role": { "role_id": "<string>", "role_name": "<string>", "role_type": "enterprise" }, "org_id": "<string>" } ], "service_user_id": "<string>" }
更新服务用户的组织角色。
ManageAccountMembership
服务用户凭据(前缀:cog_)
成功响应
显示 子属性