Take an e-mail domain from an organization
POST
/api/platform/organizations/{id}/domains/remove
const url = 'https://forge.example.com/api/platform/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/domains/remove';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"domain":"example","reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://forge.example.com/api/platform/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/domains/remove \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "domain": "example", "reason": "example" }'Verified or not, with a reason.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
domain
required
string
reason
required
string
Example generated
{ "domain": "example", "reason": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
domains
required
Array<object>
object
domain
required
string
state
required
string
verifiedBy
required
null | string
verifiedAt
required
null | string format: date-time
recordName
required
string
recordValue
required
null | string
checkedAt
required
null | string format: date-time
outcome
required
null | string
detail
required
null | string
missingSince
required
null | string format: date-time
lapsesAt
required
null | string format: date-time
operatorMayConfirm
required
boolean
graceDays
required
integer | string format: int32
Example generated
{ "domains": [ { "domain": "example", "state": "example", "verifiedBy": "example", "verifiedAt": "2026-04-15T12:00:00Z", "recordName": "example", "recordValue": "example", "checkedAt": "2026-04-15T12:00:00Z", "outcome": "example", "detail": "example", "missingSince": "2026-04-15T12:00:00Z", "lapsesAt": "2026-04-15T12:00:00Z" } ], "operatorMayConfirm": true, "graceDays": 1}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}