Tags

Create Tag

Create a new tag.

Required Fields:

  • name: Tag name
  • slug: URL slug (must be unique within the blog)

Response Codes:

  • 201: Tag created successfully
  • 409: Slug already exists
post/tags

Request body

Example request

{
  "jsonapi": {
    "version": "1.0"
  },
  "data": {
    "attributes": {
      "name": "React",
      "slug": "react"
    }
  }
}

Response

Tag created successfully

Changes

No recorded changes to this endpoint across all 1 revision of this API.