{ "openapi": "3.0.3", "info": { "title": "BackendService API", "version": "0.0.1" }, "paths": { "/v1/organizations": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_ListOrganizations", "parameters": [ { "name": "pageToken", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListOrganizationsResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Organizations", "x-fern-sdk-method-name": "ListOrganizations", "summary": "List Organizations" }, "post": { "tags": [ "BackendService" ], "operationId": "BackendService_CreateOrganization", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Organization" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateOrganizationResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Organizations", "x-fern-sdk-method-name": "CreateOrganization", "summary": "Create Organization" } }, "/v1/organizations/{id}": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetOrganization", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetOrganizationResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Organizations", "x-fern-sdk-method-name": "GetOrganization", "summary": "Get Organization" }, "delete": { "tags": [ "BackendService" ], "operationId": "BackendService_DeleteOrganization", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteOrganizationResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Organizations", "x-fern-sdk-method-name": "DeleteOrganization", "summary": "Delete Organization" }, "patch": { "tags": [ "BackendService" ], "operationId": "BackendService_UpdateOrganization", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Organization" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateOrganizationResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Organizations", "x-fern-sdk-method-name": "UpdateOrganization", "summary": "Update Organization" } }, "/v1/organizations/{organizationId}/google-hosted-domains": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetOrganizationGoogleHostedDomains", "parameters": [ { "name": "organizationId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetOrganizationGoogleHostedDomainsResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Organizations", "x-fern-sdk-method-name": "GetOrganizationGoogleHostedDomains", "summary": "Get Organization Google Hosted Domains" }, "patch": { "tags": [ "BackendService" ], "operationId": "BackendService_UpdateOrganizationGoogleHostedDomains", "parameters": [ { "name": "organizationId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OrganizationGoogleHostedDomains" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateOrganizationGoogleHostedDomainsResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Organizations", "x-fern-sdk-method-name": "UpdateOrganizationGoogleHostedDomains", "summary": "Update Organization Google Hosted Domains" } }, "/v1/organizations/{organizationId}/microsoft-tenant-ids": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetOrganizationMicrosoftTenantIDs", "parameters": [ { "name": "organizationId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetOrganizationMicrosoftTenantIDsResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Organizations", "x-fern-sdk-method-name": "GetOrganizationMicrosoftTenantIDs", "summary": "Get Organization Microsoft Tenant IDs" }, "patch": { "tags": [ "BackendService" ], "operationId": "BackendService_UpdateOrganizationMicrosoftTenantIDs", "parameters": [ { "name": "organizationId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OrganizationMicrosoftTenantIDs" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateOrganizationMicrosoftTenantIDsResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Organizations", "x-fern-sdk-method-name": "UpdateOrganizationMicrosoftTenantIDs", "summary": "Update Organization Microsoft Tenant IDs" } }, "/v1/passkeys": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_ListPasskeys", "parameters": [ { "name": "userId", "in": "query", "schema": { "type": "string" } }, { "name": "pageToken", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListPasskeysResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Passkeys", "x-fern-sdk-method-name": "ListPasskeys", "summary": "List Passkeys" } }, "/v1/passkeys/{id}": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetPasskey", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetPasskeyResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Passkeys", "x-fern-sdk-method-name": "GetPasskey", "summary": "Get Passkey" }, "delete": { "tags": [ "BackendService" ], "operationId": "BackendService_DeletePasskey", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeletePasskeyResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Passkeys", "x-fern-sdk-method-name": "DeletePasskey", "summary": "Delete Passkey" }, "patch": { "tags": [ "BackendService" ], "operationId": "BackendService_UpdatePasskey", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Passkey" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdatePasskeyResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Passkeys", "x-fern-sdk-method-name": "UpdatePasskey", "summary": "Update Passkey" } }, "/v1/project": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetProject", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetProjectResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Projects", "x-fern-sdk-method-name": "GetProject", "summary": "Get Project" } }, "/v1/saml-connections": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_ListSAMLConnections", "parameters": [ { "name": "organizationId", "in": "query", "schema": { "type": "string" } }, { "name": "pageToken", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListSAMLConnectionsResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SAML Connections", "x-fern-sdk-method-name": "ListSAMLConnections", "summary": "List SAML Connections" }, "post": { "tags": [ "BackendService" ], "operationId": "BackendService_CreateSAMLConnection", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SAMLConnection" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateSAMLConnectionResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SAML Connections", "x-fern-sdk-method-name": "CreateSAMLConnection", "summary": "Create SAML Connection" } }, "/v1/saml-connections/{id}": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetSAMLConnection", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetSAMLConnectionResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SAML Connections", "x-fern-sdk-method-name": "GetSAMLConnection", "summary": "Get SAML Connection" }, "delete": { "tags": [ "BackendService" ], "operationId": "BackendService_DeleteSAMLConnection", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteSAMLConnectionResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SAML Connections", "x-fern-sdk-method-name": "DeleteSAMLConnection", "summary": "Delete SAML Connection" }, "patch": { "tags": [ "BackendService" ], "operationId": "BackendService_UpdateSAMLConnection", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SAMLConnection" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateSAMLConnectionResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SAML Connections", "x-fern-sdk-method-name": "UpdateSAMLConnection", "summary": "Update SAML Connection" } }, "/v1/scim-api-keys": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_ListSCIMAPIKeys", "parameters": [ { "name": "organizationId", "in": "query", "schema": { "type": "string" } }, { "name": "pageToken", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListSCIMAPIKeysResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SCIM API Keys", "x-fern-sdk-method-name": "ListSCIMAPIKeys", "summary": "List SCIM API Keys" }, "post": { "tags": [ "BackendService" ], "operationId": "BackendService_CreateSCIMAPIKey", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SCIMAPIKey" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateSCIMAPIKeyResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SCIM API Keys", "x-fern-sdk-method-name": "CreateSCIMAPIKey", "summary": "Create SCIM API Key" } }, "/v1/scim-api-keys/{id}": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetSCIMAPIKey", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetSCIMAPIKeyResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SCIM API Keys", "x-fern-sdk-method-name": "GetSCIMAPIKey", "summary": "Get SCIM API Key" }, "delete": { "tags": [ "BackendService" ], "operationId": "BackendService_DeleteSCIMAPIKey", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteSCIMAPIKeyResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SCIM API Keys", "x-fern-sdk-method-name": "DeleteSCIMAPIKey", "summary": "Delete SCIM API Key" }, "patch": { "tags": [ "BackendService" ], "operationId": "BackendService_UpdateSCIMAPIKey", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SCIMAPIKey" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateSCIMAPIKeyResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SCIM API Keys", "x-fern-sdk-method-name": "UpdateSCIMAPIKey", "summary": "Update SCIM API Key" } }, "/v1/scim-api-keys/{id}/revoke": { "post": { "tags": [ "BackendService" ], "operationId": "BackendService_RevokeSCIMAPIKey", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RevokeSCIMAPIKeyResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "SCIM API Keys", "x-fern-sdk-method-name": "RevokeSCIMAPIKey", "summary": "Revoke SCIM API Key" } }, "/v1/sessions": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_ListSessions", "parameters": [ { "name": "userId", "in": "query", "schema": { "type": "string" } }, { "name": "pageToken", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListSessionsResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Sessions", "x-fern-sdk-method-name": "ListSessions", "summary": "List Sessions" } }, "/v1/sessions/{id}": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetSession", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetSessionResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Sessions", "x-fern-sdk-method-name": "GetSession", "summary": "Get Session" } }, "/v1/user-invites": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_ListUserInvites", "parameters": [ { "name": "organizationId", "in": "query", "schema": { "type": "string" } }, { "name": "pageToken", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListUserInvitesResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "User Invites", "x-fern-sdk-method-name": "ListUserInvites", "summary": "List User Invites" }, "post": { "tags": [ "BackendService" ], "operationId": "BackendService_CreateUserInvite", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserInvite" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateUserInviteResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "User Invites", "x-fern-sdk-method-name": "CreateUserInvite", "summary": "Create User Invite" } }, "/v1/user-invites/{id}": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetUserInvite", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetUserInviteResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "User Invites", "x-fern-sdk-method-name": "GetUserInvite", "summary": "Get User Invite" }, "delete": { "tags": [ "BackendService" ], "operationId": "BackendService_DeleteUserInvite", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteUserInviteResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "User Invites", "x-fern-sdk-method-name": "DeleteUserInvite", "summary": "Delete User Invite" } }, "/v1/users": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_ListUsers", "parameters": [ { "name": "organizationId", "in": "query", "schema": { "type": "string" } }, { "name": "pageToken", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListUsersResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Users", "x-fern-sdk-method-name": "ListUsers", "summary": "List Users" }, "post": { "tags": [ "BackendService" ], "operationId": "BackendService_CreateUser", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateUserResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Users", "x-fern-sdk-method-name": "CreateUser", "summary": "Create User" } }, "/v1/users/{id}": { "get": { "tags": [ "BackendService" ], "operationId": "BackendService_GetUser", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetUserResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Users", "x-fern-sdk-method-name": "GetUser", "summary": "Get User" }, "delete": { "tags": [ "BackendService" ], "operationId": "BackendService_DeleteUser", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteUserResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Users", "x-fern-sdk-method-name": "DeleteUser", "summary": "Delete User" }, "patch": { "tags": [ "BackendService" ], "operationId": "BackendService_UpdateUser", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateUserResponse" } } } }, "400": { "$ref": "#/components/responses/APIError" }, "401": { "$ref": "#/components/responses/APIError" }, "403": { "$ref": "#/components/responses/APIError" }, "404": { "$ref": "#/components/responses/APIError" } }, "x-fern-sdk-group-name": "Users", "x-fern-sdk-method-name": "UpdateUser", "summary": "Update User" } } }, "components": { "schemas": { "CreateOrganizationResponse": { "type": "object", "properties": { "organization": { "$ref": "#/components/schemas/Organization" } } }, "CreateSAMLConnectionResponse": { "type": "object", "properties": { "samlConnection": { "$ref": "#/components/schemas/SAMLConnection" } } }, "CreateSCIMAPIKeyResponse": { "type": "object", "properties": { "scimApiKey": { "$ref": "#/components/schemas/SCIMAPIKey" } } }, "CreateUserInviteResponse": { "type": "object", "properties": { "userInvite": { "$ref": "#/components/schemas/UserInvite" } } }, "CreateUserResponse": { "type": "object", "properties": { "user": { "$ref": "#/components/schemas/User" } } }, "DeleteOrganizationResponse": { "type": "object", "properties": {} }, "DeletePasskeyResponse": { "type": "object", "properties": {} }, "DeleteSAMLConnectionResponse": { "type": "object", "properties": {} }, "DeleteSCIMAPIKeyResponse": { "type": "object", "properties": {} }, "DeleteUserInviteResponse": { "type": "object", "properties": {} }, "DeleteUserResponse": { "type": "object", "properties": {} }, "GetOrganizationGoogleHostedDomainsResponse": { "type": "object", "properties": { "organizationGoogleHostedDomains": { "$ref": "#/components/schemas/OrganizationGoogleHostedDomains" } } }, "GetOrganizationMicrosoftTenantIDsResponse": { "type": "object", "properties": { "organizationMicrosoftTenantIds": { "$ref": "#/components/schemas/OrganizationMicrosoftTenantIDs" } } }, "GetOrganizationResponse": { "type": "object", "properties": { "organization": { "$ref": "#/components/schemas/Organization" } } }, "GetPasskeyResponse": { "type": "object", "properties": { "passkey": { "$ref": "#/components/schemas/Passkey" } } }, "GetProjectResponse": { "type": "object", "properties": { "project": { "$ref": "#/components/schemas/Project" } } }, "GetSAMLConnectionResponse": { "type": "object", "properties": { "samlConnection": { "$ref": "#/components/schemas/SAMLConnection" } } }, "GetSCIMAPIKeyResponse": { "type": "object", "properties": { "scimApiKey": { "$ref": "#/components/schemas/SCIMAPIKey" } } }, "GetSessionResponse": { "type": "object", "properties": { "session": { "$ref": "#/components/schemas/Session" } } }, "GetUserInviteResponse": { "type": "object", "properties": { "userInvite": { "$ref": "#/components/schemas/UserInvite" } } }, "GetUserResponse": { "type": "object", "properties": { "user": { "$ref": "#/components/schemas/User" } } }, "ListOrganizationsResponse": { "type": "object", "properties": { "organizations": { "type": "array", "items": { "$ref": "#/components/schemas/Organization" } }, "nextPageToken": { "type": "string" } } }, "ListPasskeysResponse": { "type": "object", "properties": { "passkeys": { "type": "array", "items": { "$ref": "#/components/schemas/Passkey" } }, "nextPageToken": { "type": "string" } } }, "ListSAMLConnectionsResponse": { "type": "object", "properties": { "samlConnections": { "type": "array", "items": { "$ref": "#/components/schemas/SAMLConnection" } }, "nextPageToken": { "type": "string" } } }, "ListSCIMAPIKeysResponse": { "type": "object", "properties": { "scimApiKeys": { "type": "array", "items": { "$ref": "#/components/schemas/SCIMAPIKey" } }, "nextPageToken": { "type": "string" } } }, "ListSessionsResponse": { "type": "object", "properties": { "sessions": { "type": "array", "items": { "$ref": "#/components/schemas/Session" } }, "nextPageToken": { "type": "string" } } }, "ListUserInvitesResponse": { "type": "object", "properties": { "userInvites": { "type": "array", "items": { "$ref": "#/components/schemas/UserInvite" } }, "nextPageToken": { "type": "string" } } }, "ListUsersResponse": { "type": "object", "properties": { "users": { "type": "array", "items": { "$ref": "#/components/schemas/User" } }, "nextPageToken": { "type": "string" } } }, "Organization": { "type": "object", "properties": { "id": { "type": "string" }, "displayName": { "type": "string" }, "createTime": { "type": "string", "format": "date-time" }, "updateTime": { "type": "string", "format": "date-time" }, "logInWithGoogle": { "type": "boolean" }, "logInWithMicrosoft": { "type": "boolean" }, "logInWithEmail": { "type": "boolean" }, "logInWithPassword": { "type": "boolean" }, "logInWithSaml": { "type": "boolean" }, "logInWithAuthenticatorApp": { "type": "boolean" }, "logInWithPasskey": { "type": "boolean" }, "requireMfa": { "type": "boolean" }, "scimEnabled": { "type": "boolean" } } }, "OrganizationGoogleHostedDomains": { "type": "object", "properties": { "organizationId": { "type": "string" }, "googleHostedDomains": { "type": "array", "items": { "type": "string" } } } }, "OrganizationMicrosoftTenantIDs": { "type": "object", "properties": { "organizationId": { "type": "string" }, "microsoftTenantIds": { "type": "array", "items": { "type": "string" } } } }, "Passkey": { "type": "object", "properties": { "id": { "type": "string" }, "userId": { "type": "string" }, "createTime": { "type": "string", "format": "date-time" }, "updateTime": { "type": "string", "format": "date-time" }, "disabled": { "type": "boolean" }, "credentialId": { "type": "string", "format": "bytes" }, "publicKeyPkix": { "type": "string" }, "aaguid": { "type": "string" }, "rpId": { "type": "string" } } }, "Project": { "type": "object", "properties": { "id": { "type": "string" }, "displayName": { "type": "string" }, "createTime": { "type": "string", "format": "date-time" }, "updateTime": { "type": "string", "format": "date-time" }, "logInWithGoogle": { "type": "boolean" }, "logInWithMicrosoft": { "type": "boolean" }, "logInWithEmail": { "type": "boolean" }, "logInWithPassword": { "type": "boolean" }, "logInWithSaml": { "type": "boolean" }, "logInWithAuthenticatorApp": { "type": "boolean" }, "logInWithPasskey": { "type": "boolean" }, "googleOauthClientId": { "type": "string" }, "googleOauthClientSecret": { "type": "string" }, "microsoftOauthClientId": { "type": "string" }, "microsoftOauthClientSecret": { "type": "string" }, "vaultDomain": { "type": "string" }, "trustedDomains": { "type": "array", "items": { "type": "string" } }, "redirectUri": { "type": "string" }, "afterLoginRedirectUri": { "type": "string" }, "afterSignupRedirectUri": { "type": "string" }, "emailSendFromDomain": { "type": "string" } } }, "RevokeSCIMAPIKeyResponse": { "type": "object", "properties": { "scimApiKey": { "$ref": "#/components/schemas/SCIMAPIKey" } } }, "SAMLConnection": { "type": "object", "properties": { "id": { "type": "string" }, "organizationId": { "type": "string" }, "createTime": { "type": "string", "format": "date-time" }, "updateTime": { "type": "string", "format": "date-time" }, "primary": { "type": "boolean" }, "spAcsUrl": { "type": "string" }, "spEntityId": { "type": "string" }, "idpRedirectUrl": { "type": "string" }, "idpX509Certificate": { "type": "string" }, "idpEntityId": { "type": "string" } } }, "SCIMAPIKey": { "type": "object", "properties": { "id": { "type": "string" }, "organizationId": { "type": "string" }, "createTime": { "type": "string", "format": "date-time" }, "updateTime": { "type": "string", "format": "date-time" }, "displayName": { "type": "string" }, "secretToken": { "type": "string" }, "revoked": { "type": "boolean" } } }, "Session": { "type": "object", "properties": { "id": { "type": "string" }, "userId": { "type": "string" }, "revoked": { "type": "boolean" }, "createTime": { "type": "string", "format": "date-time" }, "lastActiveTime": { "type": "string", "format": "date-time" }, "expireTime": { "type": "string", "format": "date-time" } } }, "UpdateOrganizationGoogleHostedDomainsResponse": { "type": "object", "properties": { "organizationGoogleHostedDomains": { "$ref": "#/components/schemas/OrganizationGoogleHostedDomains" } } }, "UpdateOrganizationMicrosoftTenantIDsResponse": { "type": "object", "properties": { "organizationMicrosoftTenantIds": { "$ref": "#/components/schemas/OrganizationMicrosoftTenantIDs" } } }, "UpdateOrganizationResponse": { "type": "object", "properties": { "organization": { "$ref": "#/components/schemas/Organization" } } }, "UpdatePasskeyResponse": { "type": "object", "properties": { "passkey": { "$ref": "#/components/schemas/Passkey" } } }, "UpdateSAMLConnectionResponse": { "type": "object", "properties": { "samlConnection": { "$ref": "#/components/schemas/SAMLConnection" } } }, "UpdateSCIMAPIKeyResponse": { "type": "object", "properties": { "scimApiKey": { "$ref": "#/components/schemas/SCIMAPIKey" } } }, "UpdateUserResponse": { "type": "object", "properties": { "user": { "$ref": "#/components/schemas/User" } } }, "User": { "type": "object", "properties": { "id": { "type": "string" }, "organizationId": { "type": "string" }, "email": { "type": "string" }, "createTime": { "type": "string", "format": "date-time" }, "updateTime": { "type": "string", "format": "date-time" }, "owner": { "type": "boolean" }, "googleUserId": { "type": "string" }, "microsoftUserId": { "type": "string" }, "hasAuthenticatorApp": { "type": "boolean" } } }, "UserInvite": { "type": "object", "properties": { "id": { "type": "string" }, "organizationId": { "type": "string" }, "createTime": { "type": "string", "format": "date-time" }, "updateTime": { "type": "string", "format": "date-time" }, "email": { "type": "string" }, "owner": { "type": "boolean" } } }, "APIError": { "type": "object", "description": "An error returned from Tesseral.", "properties": { "message": { "type": "string", "description": "A developer-facing error message, such as \"not_found\". These are stable, and you can develop code that matches against them." }, "details": { "type": "array", "items": { "$ref": "#/components/schemas/APIErrorDetail" }, "description": "Additional details about this error." } } }, "APIErrorDetail": { "type": "object", "description": "Additional details about an API error.", "properties": { "description": { "type": "string", "description": "A more human-friendly error message. Exists to help make an error easier to understand. This value may change at any time." }, "docsLink": { "type": "string", "description": "A link to documentation about this error." } } } }, "responses": { "APIError": { "description": "API Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/APIError" } } } } } }, "tags": [ { "name": "BackendService" } ] }