SysDeleteMyChildProfile
Deletes the current user's child profile in the specified child app. Cloud Code only.
| Service | Operation |
|---|---|
| identity | SYS_DELETE_MY_CHILD_PROFILE |
Method Parameters
| Parameter | Description |
|---|---|
| appId | The child app id. Also accepted as gameId for legacy compatibility. |
| profileId | The child profile id to delete. If omitted, the singleton child profile is used. |
Usage
http://localhost:3000
- C#
- C++
- Obj-C
- Java
- JavaScript
- Dart
- Roblox
- GDScript
- 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
// N/A
N/A
var appId = "the-child-app-id";
var profileId = "the-child-profile-id";
var identityProxy = bridge.getIdentityServiceProxy();
var postResult = identityProxy.sysDeleteMyChildProfile(appId, profileId);
if (postResult.status == 200) {
// Success!
}
{
"service": "identity",
"operation": "SYS_DELETE_MY_CHILD_PROFILE",
"data": {
"appId": "the-child-app-id",
"profileId": "the-child-profile-id"
}
}
JSON Response
{
"data": {
"profileId": "the-child-profile-id",
"appId": "the-child-app-id"
},
"status": 200
}