Automation Suite
2022.4
バナーの背景画像
UiPath Automation Suite API ガイド
最終更新日 2024年4月19日

[プレビュー] 特定のユーザーを削除する

ローカル ユーザー ID に基づいて、指定したユーザーを削除します。

API エンドポイント

docs imagehttps://{yourDomain}/identity_/api/User/{userId}

スコープ

次のスコープが必要です。

  • PM.User
  • PM.User.Write

要求ヘッダー

--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
注: {access_token} を取得するには、必ずこちらで説明するいずれかの方法で認証を行ってください。

パス パラメーター

パス パラメーター

データ型

説明

userId

(必須)

文字列

削除するユーザーの ID です。

応答

204 Success

指定したユーザーが組織から削除されます。

要求の例

API 呼び出しの構築に必要な情報をすべて収集したとします。

  • {baseURL}https://{yourDomain}/{organizationName}/{tenantName}/ です。
  • {access_token}1234 です (長さを考慮)。
  • 削除するユーザー ID は 66-ss です。

呼び出しは以下のようになります (cURL)。

curl --location --request DELETE 'https://{yourDomain}/{organizationName}/{tenantName}/identity_/api/User/66-ss' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json'curl --location --request DELETE 'https://{yourDomain}/{organizationName}/{tenantName}/identity_/api/User/66-ss' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json'
  • API エンドポイント
  • スコープ
  • 要求ヘッダー
  • パス パラメーター
  • 応答
  • 204 Success
  • 要求の例

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.