Posts

Change a posting slot

patch/posting-slots/{id}

Request

  • Base URL: https://www.sociahive.com/api/v1
  • URL: https://www.sociahive.com/api/v1/posting-slots/{id}
  • Auth: one of:
    • API key in header X-API-Key
    • OAuth 2 (authorization code, authorization URL /api/oauth/authorize, token URL /api/oauth/token, scopes: posts:write)

Path parameters

idstring required

MongoDB ObjectId (24-character hex string)

Example:507f1f77bcf86cd799439011

Request body

account_idsstring[]
weekdayinteger
minutesinteger

Minutes after local midnight. Or send time.

timestring

"HH:mm", 24-hour. Or send minutes.

timezonestring

Example request

{
  "account_ids": [
    "507f1f77bcf86cd799439011"
  ],
  "time": "09:30"
}

Response

Posting slot changed

successtrue required

Example response

{
  "data": {
    "id": "507f1f77bcf86cd799439011",
    "account_ids": [
      "507f1f77bcf86cd799439011"
    ],
    "timezone": "Europe/Berlin"
  }
}

Changes

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