Delete a user associated with a given CC Profile ID.
delete
/swm/rs/v1/users/cc/{ccProfileId}
Removes data permanently for a specific user with the given ccProfileId, including perrmanently removing allmemberships, all spaces created (owned) by the user, and all content in those spaces.
Also, any space content created by the user as a member of other spaces will also be permanently removed. If the usercontent is a top-level post, any replies to that post will also be permanently removed, regardless of who created the reply.
Only a CC client with the correct authentication header can permanenly remove the CC user.
Also, any space content created by the user as a member of other spaces will also be permanently removed. If the usercontent is a top-level post, any replies to that post will also be permanently removed, regardless of who created the reply.
Only a CC client with the correct authentication header can permanenly remove the CC user.
Request
Supported Media Types
- application/json
Path Parameters
-
ccProfileId: string
The Commerce Cloud user profileId
Response
Supported Media Types
- application/json; charset=UTF-8
200 Response
user resource deleted
403 Response
user resource action forbidden
404 Response
user resource not found
Examples
Sample Request:
DELETE swm/rs/v1/users/cc/160297
Sample Response:
{"response":{"code":"200.2","developerMessage":"user resource deleted" }, "userId":"nNGCePPATZMzzpCm" }
Possible Error Codes:
{ "code":"404.0","developerMessage":"user resource not found" }