SysCreateSelfServiceDeletionUrlForUser
Returns self-service delete account URL that can be used to delete the specified user.
Service | Operation |
---|---|
user | SYS_CREATE_SELF_SERVICE_DELETION_URL_FOR_USER |
Method Parameters
Parameter | Description |
---|---|
profileId | The profile ID of the target user for whom the delete account URL is intended. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var profileId = "a-profile-id";
var userProxy = bridge.getUserServiceProxy();
var postResult = userProxy.sysCreateSelfServiceDeletionUrlForUser(profileId);
{
"service":"user",
"operation":"SYS_CREATE_SELF_SERVICE_DELETION_URL_FOR_USER",
"data":{
"profileId":"a-profile-id"
}
}
JSON Response
{
"data": {
"url": "https://api.braincloudservers.com/self-service/delete-account?appId=13229&deletionToken=45b66a3b-84b1-4a81-9d18-ff14d9e97f8d&profileId=93293c42-7a8e-47b4-954e-553916193687"
},
"status": 200
}