Delete a profile
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.
apiKeyAuthorizationBearer <token>An API key from the web app, under Developers. It starts with rz_live_.
id*stringThe profile's id (prof_).
length <= 100OK
application/json- response
id*stringlength <= 100curl -X DELETE 'https://api.rizamo.com/v1/profiles/prof_01m41bamm0f3a8mr2eek4wdq39'{ "id": "prof_01m41bamm0f3a8mr2eek4wdq39"}Update a profile PATCH
Its name, colour or time zone; what is left out stays as it is. A new time zone reads posting times and local `scheduledAt` from then on: posts already scheduled keep their time.
Get a profile's queue GET
Its posting times, read in its time zone; the next `count` times free for at least one of its accounts, with which ones (none of them has a post at that minute, scheduled or queued, and none would pass its network's daily cap); and its queued posts still to go out.