Skip to main content

Get specified origin [by id] for specified subdomain for dynamic CORS (Cross-Origin Resource Sharing) management.

GET 

/api/origin/:id

This endpoint allows users to get specified origin by id that is permitted to access resources on specified subdomain. The action is authenticated using a JWT, and the subdomain must be owned by the user making the request. This will be checked by the server.

Request​

Path Parameters

    id int64required

    Id of the origin to retrieve

Header Parameters

    x-subdomain stringrequired

    'x-subdomain' header represents the name of the subdomain on which the action is to be performed.

Responses​

Origin was successfully retrieved.

Schema
    origin objectrequired
    id int64required
    subdomain_id int64required
    value stringrequired
Loading...