delete https://api.compose.io/2016-07/deployments//portal_users/
Destroy a portal user associated with a deployment
Will respond with information about the portal user recipe that is being run to remove a portal user
A Recipe is a process, or processes, which performs a task; in this case, that task is removing a portal user. When the API returns a recipe, it gives the id and status information about that process and its current status. The recipe runs asynchronously.
By querying the recipe endpoint - /2016-07/recipes/:id with the returned id, you can get updates on the status of the task being performed. Completion is denoted by the status
field being returned as completed
.