rizamodocs
Profiles

Delete a profile

DELETE
/profiles/{id}

For good: what is in it cannot be restored. Its posts go, deleted ones included, with their history and preview links (posts already published stay on the networks), and so do its posting times, its upload requests and connect links, its other events, and its media that no post of another profile uses. Its short links stay and keep working, with no profile. People and invitations limited to some profiles, API keys, agents and webhook endpoints lose it from their profiles: a key or agent that reached only this profile is revoked, and an endpoint that took only its events is disabled (disabledReason profile_deleted). Refused (409) while it has accounts (move each to another profile, or remove it, first), when it is the team's only profile, while one of its posts is going out, and while a person or an open invitation reaches no other profile, naming them. Only an owner deletes a profile, signed in as themselves within the last 15 minutes (with their session, as the web app does), or an API key an owner let remove accounts and delete profiles when making it (Developers in the web app). Other API keys and agents are refused (403), and a key reaches only its own profiles.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the web app, under Developers. It starts with rz_live_.

Path Parameters

id*string

The profile's id (prof_).

Lengthlength <= 100

Response Body

OK

application/json
  1. response
id*string
Lengthlength <= 100
Example Request
curl -X DELETE 'https://api.rizamo.com/v1/profiles/prof_01m41bamm0f3a8mr2eek4wdq39'
Example Response
{  "id": "prof_01m41bamm0f3a8mr2eek4wdq39"}