EGP User Account Service
  1. Organizations
EGP User Account Service
  • Overview
  • Invitations
    • Accept an organization invitation
      POST
    • Send an invitation to join an organization
      POST
  • Authentication
    • Login with email/password
      POST
    • Register a new global user
      POST
    • Exchange user token for service token
      POST
    • Get a challenge for Web3 signing
      POST
    • Verify Web3 signature and login
      POST
  • Organizations
    • Create a new organization
      POST
    • Get organization details
      GET
    • Get organization settings
      GET
    • Update organization settings
      PUT
    • List members of an organization
      GET
    • Directly add an existing user to the organization
      POST
    • Remove a member from an organization
      DELETE
    • Get a specific member's details
      GET
    • Update a member's role
      PUT
  • SSO
    • Request Challenge for Web3 SSO (EVM Only)
      POST
    • Initiate Web3 SSO Flow (IdP Start)
      GET
    • Verify SIWE Signature & Issue Token for Web3 SSO (EVM Only)
      POST
  • Applications
    • Delete an application
      DELETE
    • Get application details
      GET
    • Update application details
      PUT
    • List applications within an organization
      GET
    • Create an application within an organization
      POST
  • API Keys
    • Revoke an API key
    • List API keys for an application
    • Generate an API key for an application
  • User Self-Service
    • Get current user's profile
    • Update current user's profile
    • Update current user's password
  • Custom System Data
    • List users with custom system data
    • Get user's custom system data
    • Set/Update user's custom system data
  • Custom Data
    • Get user's custom data
    • Set/Update user's custom data
  • Inventory
    • List inventory items for an application
    • Create or update an inventory item
  1. Organizations

Update organization settings

PUT
/api/v1/organizations/{orgId}/settings
Updates settings for a specific organization. Requires JWT authentication and the user must be an Admin or Owner of the organization. Sends the complete settings object.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://useraccounts.srblabs.io/api/v1/organizations//settings' \
--header 'Content-Type: application/json' \
--data-raw '{
    "login_methods": [
        "email_password",
        "google_sso"
    ],
    "organization_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "password_policy": "{\"minLength\": 8, \"requireUppercase\": true}",
    "require_2fa": false,
    "sso_domain": "mycompany.com",
    "sso_enabled": true,
    "sso_oidc_client_id": "1234567890-abc.apps.googleusercontent.com",
    "sso_oidc_discovery_url": "https://accounts.google.com/.well-known/openid-configuration",
    "sso_provider": "saml",
    "updated_at": "2023-10-26T15:00:00Z"
}'
Response Response Example
200 - Example 1
{
    "login_methods": [
        "email_password",
        "google_sso"
    ],
    "organization_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "password_policy": "{\"minLength\": 8, \"requireUppercase\": true}",
    "require_2fa": false,
    "sso_domain": "mycompany.com",
    "sso_enabled": true,
    "sso_oidc_client_id": "1234567890-abc.apps.googleusercontent.com",
    "sso_oidc_discovery_url": "https://accounts.google.com/.well-known/openid-configuration",
    "sso_provider": "saml",
    "updated_at": "2023-10-26T15:00:00Z"
}

Request

Path Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Organization settings updated successfully (sensitive fields omitted)
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Modified at 2025-05-03 01:39:03
Previous
Get organization settings
Next
List members of an organization