Remove a collaborator from an app
const url = 'https://api.aetherpush.com/v1/apps/example/collaborators/hello%40example.com';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Collaborator removed.
Invalid email parameter.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}Insufficient permissions (collaborators.manage required unless removing yourself).
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}App not found, or target email is not a collaborator.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}The target is the owner, who cannot be removed.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}