Post Authors

Replace Post Authors

Replace all authors on a post with a new set of authors. All existing authors are removed and only the newly specified authors remain.

patch/posts/{id}/authors

Request

Path parameters

idinteger required

Post ID

Request body

Example request

{
  "jsonapi": {
    "version": "1.0"
  },
  "data": [
    {
      "type": "tags",
      "id": "123"
    }
  ]
}

Response

Authors replaced successfully

Example response

{
  "jsonapi": {
    "version": "1.0"
  },
  "data": [
    {
      "type": "authors",
      "attributes": {
        "author_name": "John",
        "avatar_url": "https://source.inblog.dev/avatar/user-123.jpg"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 4 revisions of this API.