日本語
cURL
curl --request PATCH \ --url https://api.devin.ai/v3beta1/enterprise/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>" }
Update enterprise role for service user.
ManageAccountMembership
Service User credential (prefix: cog_)
Successful Response
表示 子属性
enterprise
org