Hostingsurge Teams API
The Teams API from Hostingsurge — 23 operation(s) for teams.
Operations 30
GET
/orgs/{orgId}/members
Team members with role, project access and two-factor/SSO status (members:read…
#
PATCH
/orgs/{orgId}/members/{userId}
Change a member's role and/or project access (session only; owners manage…
#
DELETE
/orgs/{orgId}/members/{userId}
Remove a member from the team (session only; the last owner cannot be removed)
#
POST
/orgs/{orgId}/transfer-ownership
Make another member owner (owner, session signed in within 5 minutes; confirm…
#
GET
/orgs/{orgId}/security
The team security policy (two-factor requirement, SSO status) and your own…
#
PUT
/orgs/{orgId}/security
Require two-factor authentication for every member, with a grace period (owner…
#
GET
/orgs/{orgId}/ip-allowlist
The team IP allow-list: whether it is enforced, the IPv4/IPv6 ranges with…
#
PUT
/orgs/{orgId}/ip-allowlist
Replace the allow-list and its switches (owner/admin, session signed in within…
#
POST
/orgs/{orgId}/ip-allowlist/entries
Add one range (CIDR, or a single address) with a label (owner/admin, session…
#
DELETE
/orgs/{orgId}/ip-allowlist/entries/{entryId}
Remove one range (owner/admin, session signed in within 5 minutes…
#
GET
/orgs/{orgId}/members/{userId}/sessions
A member's active sign-in sessions (owner/admin, session only; no IP addresses)
#
DELETE
/orgs/{orgId}/members/{userId}/sessions
Sign a member out everywhere (owner/admin, session only; recorded in the audit…
#
GET
/orgs/{orgId}/sso
The team's SSO connection, email domains and the URLs to register at the IdP…
#
PUT
/orgs/{orgId}/sso
Create or update the OIDC or SAML connection (owner, session signed in within 5…
#
POST
/orgs/{orgId}/sso/enforce
Require SSO for members of verified domains (owners keep password access as…
#
POST
/orgs/{orgId}/sso/idp-initiated
Accept sign-ins started at the identity provider (IdP-initiated SAML…
#
POST
/orgs/{orgId}/sso/domains
Add an email domain; returns the DNS TXT record that proves it (owner, session)
#
POST
/orgs/{orgId}/sso/domains/{domainId}/verify
Look up the TXT record now and mark the domain verified when it matches…
#
DELETE
/orgs/{orgId}/sso/domains/{domainId}
Remove an email domain (owner, session signed in within 5 minutes)
#
GET
/orgs/{orgId}/audit
The team audit log, newest first, filterable and paginated (audit:read; keys…
#
GET
/orgs/{orgId}/audit/export
Download the audit log as CSV or JSON (audit:read; same filters as the list…
#
GET
/orgs/{orgId}/scim
SCIM provisioning: the team's SCIM 2.0 base URL, its token (never the value)…
#
POST
/orgs/{orgId}/scim/token
Generate the SCIM token (shown once; replaces the current token, which stops…
#
DELETE
/orgs/{orgId}/scim/token
Revoke the SCIM token: provisioning stops until a new token is generated…
#
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-builder-visual-op-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-policy-templates-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-pending-changes-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-confirm-prices-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-collection-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-create-shop-input-body-schema.json