Organizations
Approve a web origin
Changed onApproves 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 URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
Organization Web Origin Approve Body required
origin, string required
Response
The web origin was approved.
Organization Web Origin required
id, string required
origin, string required
createdAt, string date-time required
createdByName, string nullable required
Changes
- breaking
the response property
createdByNamebecame nullable for the status - info
response property
anyOf[InvalidRequestError]/details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400 - info
response property
createdByNamelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201
1 more change in this revision
- breaking