Export request templates as TOML
GET
/v1/admin/request-templates/export
const url = 'https://localhost:8080/v1/admin/request-templates/export';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:8080/v1/admin/request-templates/export \ --header 'Authorization: <Authorization>'Downloads the configured/shared templates of the active organization (excluding all personal templates) as a request_templates.toml document with owner emails and the organization slug. Admin or super_admin only.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”TOML document
Media typetext/plain
string
Unauthorized
Media typetext/plain
object
error
string
Example
message
string
Example
Successsuccess
boolean
Example
trueForbidden
Media typetext/plain
object
error
string
Example
message
string
Example
Successsuccess
boolean
Example
trueInternal Server Error
Media typetext/plain
object
error
string
Example
message
string
Example
Successsuccess
boolean
Example
true