CORS Origins

🛡️ Add a custom CORS origin.

<h3>🛡️ Requires Capabilities: <code>ServerSettings.Update</code></h3>
post/api/v1/cors-origins

Request body

originstring required

The origin to allow, as a well-formed http:// or https:// URL. Only the scheme, host, and port are kept.

Example request

{
  "origin": "https://birdhouse.example.com:8123"
}

Response

corsOriginIdstring required
originstring required
addedByUserIdstring
idnumber required
createdAtstring date-time required
updatedAtstring date-time required
deletedAtstring date-time required

Changes

Changed in 1 of the 176 revisions of this API.1