Api
Open or close a job
Sets a job's status. Body: status (open|closed) — close a finished job to hide it from creators' pickers, or reopen it. The caller must be a member of the job's workspace. 403 if the caller is only a viewer; 404 if the job does not exist or is in another workspace.
AuthorizationBearer <token>
A Supabase-issued OAuth user access token. On collection endpoints, pair with a Passo-Workspace header to pick a workspace.
In: header
Path Parameters
jobId*string
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/jobs/string" \ -H "Content-Type: application/json" \ -d '{ "status": "open" }'{ "id": "string", "workspaceId": "string", "title": "string", "status": "open", "platform": "instagram", "postingWindowStart": "string", "postingWindowEnd": "string", "createdAt": "string", "updatedAt": "string"}