Skip to main content
DocsPlatformsAPI ReferenceAI & Integrations
Profiles

Delete

Soft-delete an empty profile.

Endpoint

DELETE https://api.postpeer.dev/v1/profiles/{id}

Path Parameters

ParameterTypeDescription
idstringProfile ID

Empty profiles only

The API returns 409 Conflict while active integrations belong to the profile. Move them to another profile, move them to Default, or disconnect them before deleting the profile.

Example

curl -X DELETE "https://api.postpeer.dev/v1/profiles/65ab123" \
  -H "x-access-key: YOUR_API_KEY"
import PostPeer from '@postpeer/node';

const client = new PostPeer();
await client.profiles.delete({ path: { id: '65ab123' } });
from postpeer import PostPeer

with PostPeer() as client:
    client.profiles.delete(id="65ab123")

Response

{
	"success": true,
	"message": "Profile deleted."
}

Status Codes

CodeMeaning
200Profile deleted
400Invalid profile id
404Profile not found
409Profile has active integrations

On this page