メインコンテンツへスキップ
PATCH
/
v2
/
enterprise
/
organizations
/
{org_id}
/
members
/
roles
Enterprise 組織メンバーのロール更新用エンドポイント
curl --request PATCH \
  --url https://api.devin.ai/v2/enterprise/organizations/{org_id}/members/roles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "role_id": "<string>",
  "user_ids": [
    "<string>"
  ]
}
'
{
  "status": "success"
}
Enterprise 管理者の個人用 APIキーが必要です。 特定の組織内で、1人以上のメンバーに対する組織レベルのロールを更新します。このエンドポイントを使用すると、複数のユーザーに対して一度に新しい組織ロールを割り当てることができます。

承認

Authorization
string
header
必須

Enterprise 管理者専用の個人用 API キー (apk_user_*)

パスパラメータ

org_id
string
必須

ボディ

application/json
role_id
string
必須
user_ids
string[]
必須

レスポンス

成功時のレスポンス

status
string
デフォルト:success