team_profile_delete event
The workspace profile fields have been deleted
Facts
Required Scopes
No scopes required!
Compatible APIs
Usage info
This example includes both the event wrapper and the event structure for the team_profile_delete event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "team_profile_delete",
"profile": {
"fields": [
"Xf06054AAA",
...
]
}
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
The team_profile_delete event is sent to all connections for a workspace when Workspace Admin deletes field definitions from the profile. Only the ids of the deleted field definitions are included in the payload. Where appropriate, clients should update to reflect new changes immediately.