API reference
Delete a profile that has no connected accounts.
https://api.betterpost.dev/v1/profiles/{id}| Name | Description |
|---|---|
id | The profile id. |
curl -s -X DELETE https://api.betterpost.dev/v1/profiles/prof_1b7r4a9n2d5c8l0e3k6s9m2x \
-H "x-access-key: $BETTERPOST_API_KEY"200 OK
{ "success": true, "message": "Profile deleted." }| Status | Code | When |
|---|---|---|
200 | The profile was deleted. | |
401 | unauthorized | Missing or unknown API key. |
404 | not_found | No such profile in this project. |
409 | profile_has_integrations | The profile still has connected accounts. Move or disconnect them first. |
429 | rate_limited | More than 120 requests per minute. |