Run jobs only on the organization's workers
On, the platform's workers never take one of the organization's jobs, whatever credentials it has or revokes: they wait for its own. Off, its workers and the platform's share them. Jobs the server runs itself, such as exports, are not affected. Every owner and security admin is told of a change, in the app and by email.
Who may call it: An owner or security admin of the organization. API keys: no.
sessiongamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
slug*stringThe organization's slug, as in its URL.
application/json- body
ownWorkersOnly*booleanThe organization's jobs run only on its own workers: the platform's never take one, even while none of its own is running. Off, its workers and the platform's share them.
OK.
application/json- response
ownWorkersOnly*booleanThe organization's jobs run only on its own workers: the platform's never take one, even while none of its own is running. Off, its workers and the platform's share them.
curl -X PATCH 'http://localhost:3000/api/organizations/string/workers' \ -H 'Content-Type: application/json' \ -d '{ "ownWorkersOnly": true}'{ "ownWorkersOnly": true}