CORS Origins

🛡️ Add a custom CORS origin.

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

Request

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