Update the careers page settings
Changes the fields you send. The page publishes legal text under the organisation's name, so this needs a key created by an admin with the organization:write scope. Turning the page on needs privacyNoticeUrl and privacyContactEmail. Changing handle is applied first; if a later field is refused the new handle stays.
Required scope: organization:write.
Errors
- 400:
invalid_content_type,invalid_json,invalid_request,request_body_too_large,unknown_field - 401:
authentication_required,invalid_api_key - 403:
api_access_disabled,insufficient_scope,permission_denied - 409:
resource_conflict - 422:
invalid_parameter - 429:
rate_limit_exceeded - 500:
api_error - 503:
maintenance_mode,service_unavailable
ApiKeyAuthorizationBearer <probb_live_<id>_<secret>>application/json- body
enabled?booleanTurn the public careers page on or off. Turning it on needs both privacy fields.
handle?stringThe page's address segment. The old address redirects for 90 days.
3 <= length <= 40heading?|nullintro?|nullwebsiteUrl?|nullprivacyNoticeUrl?|Required to turn the page on.
privacyContactEmail?|Where candidates' deletion requests go. Required to turn the page on.
Success.
application/json- response
object*stringenabled*booleanWhether the organisation's public careers page is on.
handle*stringThe address segment of the page: /careers/{handle}.
publicUrl*stringThe absolute URL of the careers page.
heading*|The page's heading; null shows the organisation name.
intro*|The short introduction.
websiteUrl*|The organisation's website, linked from the page.
privacyNoticeUrl*|The privacy notice candidates are shown before applying.
privacyContactEmail*|Where candidates' deletion requests go.
canPublish*booleanBoth privacy fields are set, so the page can be turned on and jobs published.
disabledBySiteAdmin*booleanProbb turned the page off for this organisation.
publishedJobCount*integerJobs currently published on the page.
-9007199254740991 <= value <= 9007199254740991# Set PROBB_URL and PROBB_API_KEY. Replace any *_VALUE placeholder and any example ID (such as job_example) with a real one.curl --fail-with-body -X PATCH "$PROBB_URL/api/v1/careers" \ -H "Authorization: Bearer $PROBB_API_KEY" \ -H 'Content-Type: application/json' \ --data-binary '{ "enabled": true, "privacyNoticeUrl": "https://acme.example/privacy", "privacyContactEmail": "privacy@acme.example"}'{ "object": "careers_settings", "enabled": true, "handle": "string", "publicUrl": "string", "heading": "string", "intro": "string", "websiteUrl": "string", "privacyNoticeUrl": "string", "privacyContactEmail": "string", "canPublish": true, "disabledBySiteAdmin": true, "publishedJobCount": -9007199254740991}