PATCH
/
workspace
/
posts
/
{workspaceId}
/
{postId}
curl --request PATCH \
  --url https://api.hyra.io/workspace/posts/{workspaceId}/{postId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "featured"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required
postId
string
required

Body

application/json

Response

200 - application/json

Default Response

The response is of type object.