portal Endpoints
All endpoints for the portal API group. Great for feeding into an LLM context.
/v1/portal
Create Portal
Creates a new portal experience under the parent production tenant. Only accessible by production organization administrators.
Request Body
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PortalCreateRequest"
}
}
},
"required": true
}Responses
201Successful Response
{
"$ref": "#/components/schemas/PortalResponse"
}404Not found
422Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}/v1/portal/{portal_id}
Update Portal
Updates an existing portal's name or custom domain. Only accessible by production organization administrators.
Parameters
portal_id*
Request Body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PortalUpdateRequest"
}
}
}
}Responses
200Successful Response
{
"$ref": "#/components/schemas/PortalResponse"
}404Not found
422Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}/v1/portal/{portal_id}
Delete Portal
Deletes a portal and drops its associated database entirely. Only accessible by production organization administrators.
Parameters
portal_id*
Responses
200Successful Response
{}404Not found
422Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}/v1/portal/{portal_id}/users
Invite Portal User Bulk
Invites a guest user to a portal, auto-linking existing global accounts if they exist. Only accessible by production organization administrators.
Parameters
portal_id*
Request Body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PortalUserInviteRequest"
}
}
}
}Responses
201Successful Response
{
"$ref": "#/components/schemas/PortalUserInviteResponse"
}404Not found
422Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}/v1/portal/{portal_id}/users
List Portal Users
Lists all authorized users registered inside a portal's local database. Only accessible by production organization administrators.
Parameters
portal_id*
Responses
200Successful Response
{
"type": "array",
"items": {
"$ref": "#/components/schemas/PortalUserResponse"
},
"title": "Response List Portal Users V1 Portal Portal Id Users Get"
}404Not found
422Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}/v1/portal/{portal_id}/users/{user_id}
Remove Portal User
Removes a guest user's access from a portal and drops their membership documents. Only accessible by production organization administrators.
Parameters
portal_id*
user_id*
Responses
200Successful Response
{}404Not found
422Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}