Creates a new organization domain. By default the domain is verified, but can be optionally set to unverified.
An organization domain
Request was not successful
Authorization invalid
Resource not found
Invalid request parameters
{- "name": "string",
- "enrollment_mode": "string",
- "verified": true
}
{- "id": "string",
- "object": "organization_domain",
- "organization_id": "string",
- "name": "string",
- "enrollment_mode": "manual_invitation",
- "affiliation_email_address": "string",
- "verification": {
- "status": "unverified",
- "strategy": "string",
- "attempts": 0,
- "expire_at": 0
}, - "total_pending_invitations": 0,
- "total_pending_suggestions": 0,
- "created_at": 0,
- "updated_at": 0
}
Get a list of all domains of an organization.
A list of organization domains
Authentication invalid
Invalid request parameters
{- "data": [
- {
- "id": "string",
- "object": "organization_domain",
- "organization_id": "string",
- "name": "string",
- "enrollment_mode": "manual_invitation",
- "affiliation_email_address": "string",
- "verification": {
- "status": "unverified",
- "strategy": "string",
- "attempts": 0,
- "expire_at": 0
}, - "total_pending_invitations": 0,
- "total_pending_suggestions": 0,
- "created_at": 0,
- "updated_at": 0
}
], - "total_count": 0
}
Updates the properties of an existing organization domain.
An organization domain
Request was not successful
Resource not found
Invalid request parameters
{- "enrollment_mode": "string",
- "verified": true
}
{- "id": "string",
- "object": "organization_domain",
- "organization_id": "string",
- "name": "string",
- "enrollment_mode": "manual_invitation",
- "affiliation_email_address": "string",
- "verification": {
- "status": "unverified",
- "strategy": "string",
- "attempts": 0,
- "expire_at": 0
}, - "total_pending_invitations": 0,
- "total_pending_suggestions": 0,
- "created_at": 0,
- "updated_at": 0
}
Removes the given domain from the organization.
Deleted Object
Request was not successful
Authentication invalid
Resource not found
{- "object": "string",
- "id": "string",
- "slug": "string",
- "deleted": true
}