rip.pds.account.putServices

Replace the service entries on a did:web account's DID document. The whole set is supplied each time, so an empty list resets the document to its minimal form. Only for did:web accounts the caller minted.

Repository @pds.rip did:plc:w24v65i3bcsxk6mbbgfdukve namespace authority
Details · procedure
Kindprocedure
Authorityaccount.pds.rip
Indexed

Showing version bafyreiakdl5bt4kyneemkyjovvvzaehddnloxgla3vkqjpjosxofnby3za. Show the latest

Procedure

procedure · POST

Input

application/json

did

requiredstring · did

labelKey

string

Public multikey published as #atproto_label, which a labeler signs its labels with. Required when a labeler entry is present. The private half is never sent here.

The complete set of service entries. Omit or pass an empty array to reset to the minimal document.

  • maxLength: 2
itemsref
Reference

Output

application/json

did

requiredstring · did

document

requiredunknown

The DID document as it will now be served.

labelKey

string

services

requiredarray
itemsref
Reference

updatedAt

string · datetime

Errors

AccountNotFound

No live account with that DID was minted by the caller.

NotAWebIdentity

The account is a did:plc, whose document this server cannot edit.

InvalidRequest

A fragment, endpoint or label key was not acceptable.

#serviceEntry

object

Properties

endpoint

requiredstring · uri

An https URL. Private and local addresses are refused, because the document is read by other people's infrastructure.

fragment

requiredstring

One of #bsky_fg or #atproto_labeler. The service type is derived from this rather than supplied. Fragments this server manages cannot be set.

  • knownValues: #bsky_fg | #atproto_labeler