capabilities.work

Decommission User Account

A 3-step recipe with Meta. We can help you get access.

Recipe · 3 steps

Decommission User Account

with Meta · Digital Marketing Management

Snapshot a user, remove from an audience, then delete the test user.

  1. Read the User node to capture a final snapshot before removal.
  2. Remove the user from the custom audience so they are no longer targeted. The remove edge is declared without a request body in the spec.
  3. Delete the test user account to complete decommissioning.
What you'll need to have ready
  • accessToken: A Meta Graph API user access token.
  • userId: The id of the test user to decommission.
  • customAudienceId: The custom audience to remove the user from.
  • fields: Comma-separated fields to capture in the final snapshot.
For your developer

Arazzo workflow meta:decommission-user-account, 3 operations: getUser → removeUsersFromCustomAudience → deleteUser. Specs on APIs.io.