PostMantis
API ReferenceProfiles

Disconnect a profile

Marks a connected profile as disconnected without deleting historical posts or deliveries.

POST
/api/profiles/{id}/disconnect

Marks a connected profile as disconnected without deleting historical posts or deliveries.

Authorization

BearerAuth
AuthorizationBearer <token>

API key from the PostMantis dashboard.

In: header

Path Parameters

id*string

Profile identifier.

Formatuuid

Response Body

application/problem+json

application/problem+json

application/problem+json

application/json

curl -X POST "https://loading/api/profiles/4339a6bc-9cd3-455e-8f91-df8bc63f12d7/disconnect"
Empty
{  "type": "https://postmantis.com/problems/unauthorized",  "title": "Unauthorized",  "status": 401,  "detail": "Missing or invalid API key.",  "code": "unauthorized"}
{  "type": "https://postmantis.com/problems/forbidden",  "title": "Forbidden",  "status": 403,  "detail": "The authenticated API key is not allowed to perform this action.",  "code": "forbidden"}
{  "type": "https://postmantis.com/problems/not-found",  "title": "Not found",  "status": 404,  "detail": "Profile was not found for the authenticated account.",  "code": "notFound"}
{  "error": "Too Many Requests"}