PostZen
Profiles

Delete a profile

DELETE
/v1/profiles/{profileId}

Deletes a profile. The default profile cannot be deleted, and profiles with connected accounts must be disconnected first.

Authorization

bearerAuth
AuthorizationBearer <token>

PostZen API key.

In: header

Path Parameters

profileId*string

PostZen profile id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/profiles/string"
{  "message": "Profile deleted successfully"}
{  "error": "JSON body is required"}
{  "error": "Unauthorized"}
{  "error": "API key requires read_write permission"}
{  "error": "Not found"}
{  "error": "Failed to create post"}