Skip to main content
POST
/
v1
/
console
/
tenants
/
{tenant_id}
/
allowed-origins
Add Allowed Origin
curl --request POST \
  --url http://localhost:8000/v1/console/tenants/{tenant_id}/allowed-origins \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "origin": "<string>"
}
'
{
  "data": [
    "<string>"
  ],
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Path Parameters

tenant_id
string
required

Body

application/json
origin
string
required
Required string length: 1 - 500

Response

Successful Response

data
string[] | null
message
string | null
success
boolean
default:true