Remove a user from a workspace or organization
POST
/workspaces/{workspace_gid}/removeUser
Workspaces
The user making this call must be an admin in the workspace. The user can be referenced by their globally unique user ID or their email address.
Returns an empty data record.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.asana.com/api/1.0/workspaces//removeUser' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
204 - Example 1
{
"data": {}
}
Request
Path Params
workspace_gid
string
required
Body Params application/json
Responses
Modified at 2022-09-13 02:00:32