UiPath Documentation
private-test-cloud
2.2610
true
Test Cloud (プライベート) API ガイド

特定のユーザーを削除する

Test Cloud (プライベート) で特定のユーザーを削除するための API リファレンス。エンドポイント、要求フィールド、応答が含まれます。

Deletes the specified user, based on the user ID. Supports both local and directory users.

注:

This endpoint deletes both local and directory users; deleting a directory user also frees the license allocated to that user. For a local user that is linked to a directory account, the first delete request removes the local account but keeps the directory link: the user becomes a directory user and keeps its group memberships. A second delete request deletes the user. Use the category field returned by Get users to tell the two cases apart.

API エンドポイント​

DELETE https://{yourDomain}/{organizationName}/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'
注:

To obtain the {access_token}, make sure to authenticate through one of the methods described here.

パス パラメーター​

パス パラメーターデータ型説明
userId (必須)文字列削除するユーザーの ID です。

応答​

204 Success​

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

要求の例​

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

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

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

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

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得