orgs

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-orgs"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/25b69b43-7f4e-4187-adff-d0d12b98182f/social-card.svg?v=3e7ae33eec8b" alt="orgs" width="600" height="315"></a>
POSThttps://lucidace.com/v1/orgs/{org_id}/domains/{id}/verifyScope admin

Check the DNS proof; 409 when the record is missing or another org verified the domain first.

Parameters

org_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/orgs/{org_id}/domains/{id}/verify"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "auto_join": true,
  "created_at": "2024-01-01T00:00:00Z",
  "default_role": "string",
  "domain": "string",
  "id": "string",
  "token": "string",
  "verified_at": "2024-01-01T00:00:00Z"
}
Schema
auto_joinbooleanrequired
Users who verify an email on this domain join the org.
created_atstringrequired
default_rolestringrequired
admin | member | viewer
domainstringrequired
idstringrequired
tokenstringrequired
Publish _lucida-challenge.<domain> TXT <token>, then verify.
verified_atstring
404
409 proof not found, or the domain belongs to another org
POSThttps://lucidace.com/v1/orgs/{org_id}/leaveScope admin

Leave the org. The last owner cannot leave (409): transfer ownership or delete the org.

Parameters

org_idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/orgs/{org_id}/leave"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
404
409 Last owner
GEThttps://lucidace.com/v1/orgs/{org_id}/login-securityScope org:read

Parameters

org_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/login-security"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "confirm_new_device_logins": true
}
Schema
confirm_new_device_loginsbooleanrequired
Password logins (no 2FA, no SSO) from a device a member never used need an emailed link.
404
PUThttps://lucidace.com/v1/orgs/{org_id}/login-securityScope org:write

Parameters

org_idstringpathrequired

Request body

application/json
confirm_new_device_loginsbooleanrequired
Password logins (no 2FA, no SSO) from a device a member never used need an emailed link.
{
  "confirm_new_device_logins": true
}

Code samples

cURL
curl -X PUT "https://lucidace.com/v1/orgs/{org_id}/login-security" \
  -H "Content-Type: application/json" \
  -d '{"confirm_new_device_logins":true}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

403
404
GEThttps://lucidace.com/v1/orgs/{org_id}/seatsScope admin

Parameters

org_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/seats"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "paid": 0,
  "pending_paid_invites": 0,
  "seat_limit": 0,
  "viewers": 0
}
Schema
paidintegerrequired
pending_paid_invitesintegerrequired
Open invitations for a paid role (they reserve a seat).
seat_limitinteger
The cap on paid seats; null = unlimited. Viewers never count.
viewersintegerrequired
403
404
PUThttps://lucidace.com/v1/orgs/{org_id}/securityScope org:write

Require 2FA for every member of the org (owner/admin; caller must have 2FA enabled).

Request body

application/json
require_2fabooleanrequired
{
  "require_2fa": true
}

Code samples

cURL
curl -X PUT "https://lucidace.com/v1/orgs/{org_id}/security" \
  -H "Content-Type: application/json" \
  -d '{"require_2fa":true}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
409 caller has no 2FA
GEThttps://lucidace.com/v1/orgs/{org_id}/security/ip-allowlistScope admin

Parameters

org_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/security/ip-allowlist"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "data": [
    {
      "cidr": "string",
      "created_at": "2024-01-01T00:00:00Z",
      "id": "string",
      "label": "string"
    }
  ],
  "next_cursor": "string",
  "your_ip": "string"
}
Schema
dataIpRule[]required
Show child parameters
cidrstringrequired
CIDR block, e.g. 203.0.113.0/24 (a bare address is a /32 or /128).
created_atstringrequired
idstringrequired
labelstringrequired
next_cursorstring
your_ipstring
Null when no trusted proxy header is present.
403
404
POSThttps://lucidace.com/v1/orgs/{org_id}/security/ip-allowlistScope admin

Adds a block. While the list is non-empty only listed addresses reach the org's API, so the first block has to contain the caller's own address.

Parameters

org_idstringpathrequired

Request body

application/json
cidrstringrequired
CIDR block or a single address.
labelstring
{
  "cidr": "string",
  "label": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/orgs/{org_id}/security/ip-allowlist" \
  -H "Content-Type: application/json" \
  -d '{"cidr":"string","label":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "cidr": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "id": "string",
  "label": "string"
}
Schema
cidrstringrequired
CIDR block, e.g. 203.0.113.0/24 (a bare address is a /32 or /128).
created_atstringrequired
idstringrequired
labelstringrequired
400
403
404
409
DELETEhttps://lucidace.com/v1/orgs/{org_id}/security/ip-allowlist/{id}Scope admin

Parameters

org_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucidace.com/v1/orgs/{org_id}/security/ip-allowlist/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
404
409
GEThttps://lucidace.com/v1/orgs/{org_id}/security/policyScope admin

Parameters

org_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/security/policy"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "password_min_length": 0,
  "password_require_mixed": true,
  "seat_limit": 0,
  "session_idle_minutes": 0,
  "session_max_hours": 0
}
Schema
password_min_lengthinteger
Minimum password length on reset (10 to 128); null = the platform floor of 10.
password_require_mixedbooleanrequired
Require upper case, lower case and a digit.
seat_limitinteger
Cap on paid (non-viewer) seats; null = unlimited.
session_idle_minutesinteger
Sign out after this many idle minutes (5 to 10080); null = the 7-day default.
session_max_hoursinteger
Absolute session lifetime in hours (1 to 720); null = the platform default.
403
404
PUThttps://lucidace.com/v1/orgs/{org_id}/security/policyScope admin

Replaces the whole policy; null clears a field.

Parameters

org_idstringpathrequired

Request body

application/json

Body of PUT /security/policy: every field present, null = off.

password_min_lengthinteger
password_require_mixedboolean
seat_limitinteger
session_idle_minutesinteger
session_max_hoursinteger
{
  "password_min_length": 0,
  "password_require_mixed": true,
  "seat_limit": 0,
  "session_idle_minutes": 0,
  "session_max_hours": 0
}

Code samples

cURL
curl -X PUT "https://lucidace.com/v1/orgs/{org_id}/security/policy" \
  -H "Content-Type: application/json" \
  -d '{"password_min_length":0,"password_require_mixed":true,"seat_limit":0,"session_idle_minutes":0,"session_max_hours":0}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

400
403
404
409 seat limit below the seats in use
GEThttps://lucidace.com/v1/orgs/{org_id}/settingsScope org:read

Parameters

org_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/settings"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "brand_accent": "string",
  "brand_name": "string",
  "hide_members": true,
  "logo_url": "string",
  "members_can_invite": true,
  "permanent_shares": true,
  "white_label": true
}
Schema
brand_accentstring
#rrggbb accent colour of shares and reports.
brand_namestring
White-label name shown on shares and reports in place of Lucida (N-DXA-8).
hide_membersbooleanrequired
Plain members and viewers see only admins and themselves in the member list.
logo_urlstring
members_can_invitebooleanrequired
Plain members may invite members and viewers (admins always can).
permanent_sharesbooleanrequired
Share links may be minted without expiry (P-M19). Off by default.
white_labelbooleanrequired
Drop the Lucida marks ("Powered by Lucida", [Lucida] subjects) everywhere.
404

Updated