Turn on support access
POST
/api/settings/support-access
const url = 'https://forge.example.com/api/settings/support-access';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"hours":1,"days":1,"endsAt":"2026-04-15T12:00:00Z"}'};
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://forge.example.com/api/settings/support-access \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "hours": 1, "days": 1, "endsAt": "2026-04-15T12:00:00Z" }'Until an end you choose, from 15 minutes to 30 days ahead. Answers the code to give to support: it is shown this once, and works once, for one operator, who can only look. For administrators.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
hours
required
null | integer | string format: int32
days
required
null | integer | string format: int32
endsAt
required
null | string format: date-time
Example generated
{ "hours": 1, "days": 1, "endsAt": "2026-04-15T12:00:00Z"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
grant
required
object
id
required
string format: uuid
state
required
string
createdAt
required
string format: date-time
createdBy
required
string
endsAt
required
string format: date-time
operatorName
required
null | string
redeemedAt
required
null | string format: date-time
reason
required
null | string
endedAt
required
null | string format: date-time
endedBy
required
null | string
views
required
integer | string format: int32
code
required
string
Example generated
{ "grant": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "state": "example", "createdAt": "2026-04-15T12:00:00Z", "createdBy": "example", "endsAt": "2026-04-15T12:00:00Z", "operatorName": "example", "redeemedAt": "2026-04-15T12:00:00Z", "reason": "example", "endedAt": "2026-04-15T12:00:00Z", "endedBy": "example", "views": 1 }, "code": "example"}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}