Cinema Studio

Turn off AI Director posting for a project's account

AI Director posting for the project's YouTube channel or TikTok account is turned off: the AI Director keeps a draft there again when it is asked to post. Only takes away: any key, whatever the plan says. The project's owner's and its admins'. Takes a key holding studio:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

DELETE
/v1/studio/projects/{project}/socials/{platform}/director
DELETE
/v1/studio/projects/{project}/socials/{platform}/director
Turn off AI Director posting for a project's account
AI Director posting for the project's YouTube channel or TikTok account is turned off: the AI Director keeps a draft there again when it is asked to post.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
platformstringrequired
Turn off AI Director posting for a project's account
curl --request DELETE \
  --url 'https://api.auray.ai/v1/studio/projects/{project}/socials/{platform}/director' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "id": "<string>",
  "platform": "<string>",
  "external_id": "<string>",
  "display_name": "<string>",
  "avatar_url": "<string>",
  "state": "<string>",
  "defaults": {
    "made_for_kids": true,
    "ai_disclosure": true
  },
  "also_in": [
    {
      "project_id": "<string>",
      "name": "<string>"
    }
  ],
  "connected_at": "<string>",
  "remove_after": "<string>",
  "paused": {
    "message": "<string>"
  },
  "director_posting": {
    "privacy": "<string>",
    "options": {},
    "words": "<string>",
    "at": "<string>",
    "by_you": true
  },
  "request_id": "<string>"
}
Turn off AI Director posting for a project's account
curl -X DELETE https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/socials/…/director \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "id": "<string>",
  "platform": "<string>",
  "external_id": "<string>",
  "display_name": "<string>",
  "avatar_url": "<string>",
  "state": "<string>",
  "defaults": {
    "made_for_kids": true,
    "ai_disclosure": true
  },
  "also_in": [
    {
      "project_id": "<string>",
      "name": "<string>"
    }
  ],
  "connected_at": "<string>",
  "remove_after": "<string>",
  "paused": {
    "message": "<string>"
  },
  "director_posting": {
    "privacy": "<string>",
    "options": {},
    "words": "<string>",
    "at": "<string>",
    "by_you": true
  },
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — a key with the scope the route names.

Path Parameters

projectstringrequired
platformstringrequired
youtube or tiktok. One of "youtube", "tiktok".

Response

application/json

OK.

objectstringrequired
One of "social_account".
idstringrequired
platformstringrequired
One of "youtube", "tiktok".
external_idstringrequired
The channel's id, or TikTok's open_id.
display_namestringrequired
Where it will post: the channel's title or the creator's nickname.
avatar_urlstringrequired
A URL. May be null.
statestringrequired
pending waits for its owner's confirm, being connected in another of their projects; expired and revoked need a reconnect, and their posts wait — until remove_after. One of "pending", "connected", "expired", "revoked".
defaultsobjectrequired
Show child attributes
made_for_kidsbooleanrequired
May be null.
ai_disclosurebooleanrequired
also_inobject[]required
Your own other projects connected to the same channel or account.
Show child attributes
project_idstringrequired
namestringrequired
connected_atstringrequired
remove_afterstringrequired
When a connection that ended (expired, revoked) is removed from the project unless it is reconnected first: three weeks after it ended. Its channel's or account's id, name and picture go, and its posts not yet out are cancelled. Null while it is connected or pending. May be null.
pausedobjectrequired
Set while posting to its platform is paused: nothing is connected or sent there, a post may still be scheduled and waits, and one more than an hour past its time is not sent. Null while it is open. May be null.
Show child attributes
messagestringrequired
The sentence written for customers when the platform was paused, or null. May be null.
director_postingobjectrequired
AI Director posting on this account: the choices its posts carry, when it was turned on and whether you turned it on — or null while it is off. A reconnect turns it off. May be null.
Show child attributes
privacystringrequired
optionsobjectrequired
wordsstringrequired
The version of the sentence ticked when it was turned on.
atstringrequired
by_youbooleanrequired
request_idstring
Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

Was this page helpful?

Turn off AI Director posting for a project's account
curl -X DELETE https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/socials/…/director \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "id": "<string>",
  "platform": "<string>",
  "external_id": "<string>",
  "display_name": "<string>",
  "avatar_url": "<string>",
  "state": "<string>",
  "defaults": {
    "made_for_kids": true,
    "ai_disclosure": true
  },
  "also_in": [
    {
      "project_id": "<string>",
      "name": "<string>"
    }
  ],
  "connected_at": "<string>",
  "remove_after": "<string>",
  "paused": {
    "message": "<string>"
  },
  "director_posting": {
    "privacy": "<string>",
    "options": {},
    "words": "<string>",
    "at": "<string>",
    "by_you": true
  },
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.