Bitium

Languages

Admin - Organizations

retrieve the organizations that the authenticated user can access

List the organizations that the authenticated user is associated with.

This API request does not require any parameters.

 

Endpoint Copy

GET https://www.bitium.com/api/v2/organizations

Example Request

curl -H "Authorization: token {token}" \
-H "X-Device-Id: {unique_id}" \
https://www.bitium.com/api/v2/organizations

Example Response

[
  {
    "current": false, 
    "name": "Intrepidsquirrel", 
    "url": "https://www.bitium.com/intrepidsquirrel.com", 
    "created_at": "2015-02-26T17:13:27.397-08:00", 
    "labels": [], 
    "slug": "intrepidsquirrel.com", 
    "login_services": {
      "oauth": "https://www.bitium.com/intrepidsquirrel.com/oauth/authorize", 
      "web": null, 
      "type": "google"
    }, 
    "preferences": {
      "password_numbers": true, 
      "email_on_assignment": false, 
      "password_retention_length": 30, 
      "admin_password_rotation": 0, 
      "app_marketplace_enabled": true, 
      "username_format": "email", 
      "default_policy_assignment": false, 
      "password_mixed_case": true, 
      "app_labels_as_folders": false, 
      "custom_support_email": null, 
      "nav_bg_color": null, 
      "periodical_credential_validator_enabled": false, 
      "ip_filters_enabled": false, 
      "mfa_frequency": 30, 
      "password_length": 12, 
      "labels_enabled": true, 
      "custom_support_url": null, 
      "safari_browser_extension": false, 
      "group_admins_add_remove": false, 
      "nav_text_color": 0, 
      "tools_enabled": true, 
      "show_who_is_online": true, 
      "group_admin_password_rotation": 0, 
      "mfa_enabled": false, 
      "group_admin_add_user": false, 
      "show_pricing": true, 
      "password_symbols": true, 
      "sync_enabled": true, 
      "categories_enabled": true, 
      "require_policy_acceptance": false, 
      "contacts_with_matching_domain": true, 
      "annual_billing": false, 
      "password_reset_frequency": 30, 
      "user_to_user_sharing": true, 
      "nav_admin_text_color": 0, 
      "zero_click_login": true, 
      "password_reset_enabled": false, 
      "chat_enabled": true, 
      "app_whitelist": false, 
      "password_retention_enabled": false, 
      "show_start_page": true, 
      "enable_custom_support": false, 
      "custom_message": null, 
      "auto_assignment": 2, 
      "auto_provisioning": 2, 
      "disable_auto_join": false, 
      "nav_admin_bg_color": null, 
      "show_password_scores_to_user": true
    }, 
    "trial_expired": false, 
    "id": 3350, 
    "icon": "https://www.google.com/s2/favicons?domain=http://intrepidsquirrel.com"
  }, 
  {
    "current": true, 
    "name": “Other Org“, 
    "url": "https://www.bitium.com/3775", 
    "created_at": "2015-05-07T14:05:24.726-07:00", 
    "labels": [], 
    "slug": null, 
    "login_services": {
      "oauth": "https://www.bitium.com/3775/oauth/authorize", 
      "web": null, 
      "type": "bitium"
    }, 
    "preferences": {
      "password_numbers": true, 
      "email_on_assignment": false, 
      "password_retention_length": 30, 
      "admin_password_rotation": 0, 
      "app_marketplace_enabled": true, 
      "username_format": "email", 
      "default_policy_assignment": false, 
      "password_mixed_case": true, 
      "app_labels_as_folders": false, 
      "custom_support_email": null, 
      "nav_bg_color": null, 
      "periodical_credential_validator_enabled": false, 
      "ip_filters_enabled": false, 
      "mfa_frequency": 30, 
      "password_length": 12, 
      "labels_enabled": true, 
      "custom_support_url": null, 
      "safari_browser_extension": false, 
      "group_admins_add_remove": true, 
      "nav_text_color": 0, 
      "tools_enabled": true, 
      "show_who_is_online": true, 
      "group_admin_password_rotation": 0, 
      "mfa_enabled": false, 
      "group_admin_add_user": false, 
      "show_pricing": true, 
      "password_symbols": true, 
      "sync_enabled": false, 
      "categories_enabled": true, 
      "require_policy_acceptance": false, 
      "contacts_with_matching_domain": true, 
      "annual_billing": false, 
      "password_reset_frequency": 30, 
      "user_to_user_sharing": true, 
      "nav_admin_text_color": 0, 
      "zero_click_login": false, 
      "password_reset_enabled": false, 
      "chat_enabled": true, 
      "app_whitelist": false, 
      "password_retention_enabled": false, 
      "show_start_page": true, 
      "enable_custom_support": true, 
      "custom_message": null, 
      "auto_assignment": 2, 
      "auto_provisioning": 0, 
      "disable_auto_join": false, 
      "nav_admin_bg_color": null, 
      "show_password_scores_to_user": true
    }, 
    "trial_expired": false, 
    "id": 3775, 
    "icon": null
  }, 
 ]

retrieve an organization

Required Scopes

  • USER_READ

 

Endpoint Copy

GET https://www.bitium.com/api/v2/organizations/{organization_id}

Example Request

curl -H "Authorization: token {token}" \
-H "X-Device-Id: {unique_id}" \
https://www.bitium.com/api/v2/organizations/{organization_id}

Example Response

{
  "preferences": {
    "password_numbers": true, 
    "email_on_assignment": false, 
    "password_retention_length": 30, 
    "admin_password_rotation": 0, 
    "app_marketplace_enabled": true, 
    "username_format": "email", 
    "default_policy_assignment": false, 
    "password_mixed_case": true, 
    "app_labels_as_folders": false, 
    "custom_support_email": null, 
    "nav_bg_color": null, 
    "periodical_credential_validator_enabled": false, 
    "ip_filters_enabled": false, 
    "mfa_frequency": 30, 
    "password_length": 12, 
    "labels_enabled": true, 
    "custom_support_url": null, 
    "safari_browser_extension": false, 
    "group_admins_add_remove": true, 
    "nav_text_color": 0, 
    "tools_enabled": true, 
    "show_who_is_online": true, 
    "group_admin_password_rotation": 0, 
    "mfa_enabled": false, 
    "group_admin_add_user": false, 
    "show_pricing": true, 
    "password_symbols": true, 
    "sync_enabled": false, 
    "categories_enabled": true, 
    "require_policy_acceptance": false, 
    "contacts_with_matching_domain": true, 
    "annual_billing": false, 
    "password_reset_frequency": 30, 
    "user_to_user_sharing": true, 
    "nav_admin_text_color": 0, 
    "zero_click_login": false, 
    "password_reset_enabled": false, 
    "chat_enabled": true, 
    "app_whitelist": false, 
    "password_retention_enabled": false, 
    "show_start_page": true, 
    "enable_custom_support": true, 
    "custom_message": null, 
    "auto_assignment": 2, 
    "auto_provisioning": 0, 
    "disable_auto_join": false, 
    "nav_admin_bg_color": null, 
    "show_password_scores_to_user": true
  }, 
  "name": “Company Name“, 
  "url": "https://www.bitium.com/3775", 
  "created_at": "2015-05-07T14:05:24.726-07:00", 
  "labels": [], 
  "slug": null, 
  "login_services": {
    "oauth": "https://www.bitium.com/3775/oauth/authorize", 
    "web": null, 
    "type": "bitium"
  }, 
  "images": {
    "dashboard_logo": "https://bitium-uploads-staging.s3.amazonaws.com/organization/3/7/7/5/dashboard_logo/original_dashboard_logo_ping.png"
  }, 
  "trial_expired": false, 
  "id": 3775, 
  "icon": null
}