GET CORS Allowed Origin
Required Permissions: CorsAllowedOrigin Get
or CorsAllowedOrigin Admin
Path Parameters
applicationId integer required
The id of the CORS Allowed Origin that you wish to get data from.
Responses
- 200
A JSON Object containing a single CORS Allowed Origin's data.
application/json
Schema
Example (from schema)
Schema
cors_allowed_origin object
id integer
type
Possible values: [regex
, specific
]
origin url
description string
created_at date-time
created_by_user_id integer
updated_at date-time nullable
updated_by_user_id integer nullable
created_by object
archived boolean
avatar object nullable
avatar_file_upload_url string
created_at date-time
created_by_user_id integer
Possible values: >= 1
department string
email email
{
"cors_allowed_origin": {
"id": 0,
"type": "specific",
"origin": "string",
"description": "Our homepage",
"created_at": "2023-09-22T15:13:55.359Z",
"created_by_user_id": 0,
"updated_at": "2023-09-22T15:13:55.359Z",
"updated_by_user_id": 0,
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2023-09-22T15:13:55.359Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
}
}
}
Loading...