tools.ozone.communication.update Template

POST {{baseUrl}}/xrpc/tools.ozone.communication.updateTemplate

This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user's PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.

To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.

Administrative action to update an existing communication template. Allows passing partial fields to patch specific fields only.

Request Body

{"id"=>"<string>", "name"=>"<string>", "lang"=>"<language>", "contentMarkdown"=>"<string>", "subject"=>"<string>", "updatedBy"=>"<did>", "disabled"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;contentMarkdown&quot;:&quot;\u003cstring\u003e&quot;,&quot;disabled&quot;:&quot;\u003cboolean\u003e&quot;,&quot;lastUpdatedBy&quot;:&quot;\u003cdid\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;subject&quot;:&quot;\u003cstring\u003e&quot;,&quot;lang&quot;:&quot;\u003clanguage\u003e&quot;}