Skip to content

Remove a collaborator from an app

DELETE
/v1/apps/{appName}/collaborators/{email}
curl --request DELETE \
--url https://api.aetherpush.com/v1/apps/example/collaborators/hello%40example.com \
--header 'Authorization: Bearer <token>'

Removes a collaborator from the app. Accounts with the collaborators.manage permission (Owner or Admin) can remove any non-owner collaborator; every collaborator can remove themselves (self-leave).

appName
required
string
email
required
string format: email

Collaborator removed.

Invalid email parameter.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

Insufficient permissions (collaborators.manage required unless removing yourself).

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

App not found, or target email is not a collaborator.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

The target is the owner, who cannot be removed.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}