Organizations

Approve a web origin

Changed on

Approves one exact HTTPS origin (scheme, host, and optional port) for this organization. Approved origins can receive web sign-in handoffs for this organization and make credentialed browser requests to the Den API. A member confirms each handoff, and the origin receives a session that works in this organization only.

post/v1/org/web-origins

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

OrganizationWebOriginApproveBody required
origin, string required

Response

The web origin was approved.

OrganizationWebOrigin required
id, string required
origin, string required
createdAt, string date-time required
createdByName, string nullable required

Changes

    • breaking

      the response property createdByName became nullable for the status

    • info

      response property anyOf[InvalidRequestError]/details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400

    • info

      response property createdByName list-of-types was narrowed by removing types null from media type application/json of response 201

    1 more change in this revision