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. Any fragment and type are allowed except the ones this server manages. Only for did:web accounts the caller minted.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | account.pds.rip |
| Indexed |
Showing version bafyreicuaoyf2gsq7flxo52jzsaunjkj3yw5vjged7pnpseou3puiev3gy. Show the latest
Procedure
procedure · POSTInput
application/jsonlabelKey
stringPublic 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.
services
arrayThe complete set of service entries, in DID document shape. Omit or pass an empty array to reset to the minimal document.
maxLength: 10
Output
application/jsonErrors
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
objectA DID document service entry. Extra properties are permitted, as atproto tolerates them.
Properties
The fragment, written as '#my_service' or in full as 'did:web:host#my_service'. Fragments this server manages, '#atproto' and '#atproto_pds', cannot be set.
An https URL. Private and local addresses are refused, because the document is read by other people's infrastructure.
The service type, for example 'BskyFeedGenerator'. Supplied rather than derived, so unrecognised types can be published.