REST APIs
- Organizations
- Folders
- Documents
- Users
- Organization User Groups
- Comments Feature
- Notifications
- Live State
- Workspace
SDK
- APIs
- Models
Workspace
Delete Domains
POST
/
v1
/
workspace
/
domains
/
delete
Copy
Ask AI
curl --request POST \
--url https://api.velt.dev/v1/workspace/domains/delete \
--header 'Content-Type: application/json' \
--header 'x-velt-api-key: <x-velt-api-key>' \
--header 'x-velt-auth-token: <x-velt-auth-token>' \
--data '{
"data": {
"domains": [
"<string>"
]
}
}'
Copy
Ask AI
{
"result": {
"status": "success",
"message": "Domain(s) removed successfully from allowed domains.",
"data": {
"domainsRemoved": [
"google.com",
"*.firebase.com"
]
}
}
}
Use this API to add new organizations and its metadata.
Endpoint
POST https://api.velt.dev/v1/workspace/domains/delete
Headers
Your API key.
Your Auth Token.
Body
Params
Example Request
Copy
Ask AI
{
"data": {
"domains" : [
"https://www.google.com",
"https://*.firebase.com"
]
}
}
Example Response
Success Response
Copy
Ask AI
{
"result": {
"status": "success",
"message": "Domain(s) removed successfully from allowed domains.",
"data": {
"domainsRemoved": [
"google.com",
"*.firebase.com"
]
}
}
}
Failure Response
If some domains are not in the allowed domains
Copy
Ask AI
{
"error": {
"details": {
"domainsRemoved": [
"velt.dev"
],
"skippedDomains": [
"google.com"
]
},
"message": "Domain(s) removed successfully from allowed domains. Skipped non-existing domains.",
"status": "INTERNAL"
}
}
Copy
Ask AI
{
"result": {
"status": "success",
"message": "Domain(s) removed successfully from allowed domains.",
"data": {
"domainsRemoved": [
"google.com",
"*.firebase.com"
]
}
}
}
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://api.velt.dev/v1/workspace/domains/delete \
--header 'Content-Type: application/json' \
--header 'x-velt-api-key: <x-velt-api-key>' \
--header 'x-velt-auth-token: <x-velt-auth-token>' \
--data '{
"data": {
"domains": [
"<string>"
]
}
}'
Copy
Ask AI
{
"result": {
"status": "success",
"message": "Domain(s) removed successfully from allowed domains.",
"data": {
"domainsRemoved": [
"google.com",
"*.firebase.com"
]
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.