social.colibri.beta.community.deleteImage

Clears a community's picture or banner. Idempotent: clearing an image that was never set succeeds. The blob itself is left in the community's repo rather than deleted, so an older record revision still resolves.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · procedure
Kindprocedure
Authoritycommunity.beta.colibri.social
Indexed

Procedure

procedure · POST

Parameters

query string

community

requiredstring · did

The community to clear the image on.

kind

requiredstring

Which image to clear.

  • knownValues: picture | banner

Output

application/json

community

requiredref

The community with the image cleared.

Errors

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the community.manage permission.

CommunityNotFound

No community exists with that DID.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Sets a community's picture or banner. The bytes are uploaded to the community's own repo, which is why this goes through the AppView: a community's blobs can only be written with the community credentials the AppView holds, and a space record must reference a blob living in the repo that holds the record. Replaces whatever was there before.

  • social.colibri.community.delete

    procedure not from the namespace authority

    Deletes a community.

  • Deletes the community's spaces and its account. Members' own records stay in their own repos and simply become unreadable.

  • social.colibri.beta.emoji.delete

    procedure not from the namespace authority

    Deletes a community's custom emoji and removes it from every pack of the community. Copies other people made stay in their repos.

  • social.colibri.community.update

    procedure not from the namespace authority

    Updates a community's metadata and optionally its picture and banner.