Resume jobs of one type
POST
/api/v1/admin/jobs/{kind}/resume
const url = 'https://example.com/api/v1/admin/jobs/example/resume';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/admin/jobs/example/resume \ --header 'Authorization: Bearer <token>'Resumes the jobs of one type. It requires a signed-in User with the admin scope and the admin or owner Role. It can return 401 if the session is missing or expired, 403 if access is denied, 404 if the requested item does not exist and 503 if the service is temporarily unavailable. Route: /api/v1/admin/jobs/{kind}/resume. Inputs: kind. A recent account assertion is required. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”kind
required
string
Responses
Section titled “Responses”Media typeapplication/json
object
kind
required
string
paused
required
boolean
paused_at
string | null
reason
string | null
Examplegenerated
{ "kind": "example", "paused": true, "paused_at": "example", "reason": "example"}