Fastfold Docs
Jobs

Update Job Public Visibility

Update a job's isPublic flag. Authentication is required and only the job owner can change this field.

PATCH
/v1/jobs/{jobId}/public

Authorization

bearerAuth

AuthorizationBearer <token>

Bearer token authentication. Use your API key with the format: Authorization: Bearer sk-...your-api-key

In: header

Path Parameters

jobId*string

Job ID

Formatuuid

Request Body

application/json

isPublic*boolean

Response Body

application/json

application/json

application/json

curl -X PATCH "https://api.fastfold.ai/v1/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/public" \  -H "Content-Type: application/json" \  -d '{    "isPublic": true  }'
{
  "jobId": "550e8400-e29b-41d4-a716-446655440000",
  "isPublic": true
}
{
  "message": "Unauthorized"
}
{
  "message": "Job not found"
}

Last updated on