Skip to content

ダッシュボードユーザーアカウントを削除する

delete

/scim/v2/Users/{id}

このエンドポイントを使用して、リソースを指定して既存のダッシュボードユーザーを完全に削除します。 idSCIMによって返される POST 方法。

これは、Braze ダッシュボードの 「ユーザーの管理」 セクションでユーザーを削除するのと似ています。SCIM トークンを取得する方法については、「自動ユーザー プロビジョニング」をご覧ください。

前提条件

このエンドポイントを使用するには、SCIM トークンが必要です。詳細については、「自動ユーザープロビジョニング」を参照してください。

レート制限

This endpoint has a rate limit of 5000 requests per day, per company. This rate limit is shared with the /scim/v2/Users/ PUT, GET, and POST endpoints as documented in API rate limits.

パスパラメータ

パラメータ 必須 データ型 説明
id 必須 文字列 ユーザーのリソース ID。このパラメータは、 POST/scim/v2/Users/ または GET/scim/v2/Users?filter=userName eq "[email protected]" 方法。

リクエスト本文

1
2
3
Content-Type: application/json
X-Request-Origin: YOUR-REQUEST-ORIGIN-HERE
Authorization: Bearer YOUR-REST-API-KEY

リクエスト例

1
2
3
4
curl --location --request DELETE 'https://rest.iad-01.braze.com/scim/v2/Users/dfa245b7-24195aec-887bb3ad-602b3340' \
--header 'Content-Type: application/json' \
--header 'X-Request-Origin: YOUR-REQUEST-ORIGIN-HERE' \
--header 'Authorization: Bearer YOUR-SCIM-TOKEN-HERE' \

応答

エラー応答の例

1
2
HTTP/1.1 204 Not Found
Content-Type: text/html; charset=UTF-8

この ID を持つ開発者が Braze に存在しない場合、エンドポイントは次のように応答します。 ```json ウェブ/1.1 404 Not Found Content-Type: text/html; charset=UTF-8

{ “schemas”: [“urn:ietf:params:scim:api:messages:2.0:Error”], “detail”: “User not found”, “status”: 404 } ```

「このページはどの程度役に立ちましたか?」
New Stuff!