Organizations

Update Organization License Key

put

Receives a new license key via JSON, decodes it, verifies its validity, and updates the organization's license in the system if it is valid.

Body
licenseKeystringOptional
Responses
204

No Content - License key successfully updated

No content

put
PUT /v1/organization-license HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "licenseKey": "text"
}

No content

Get organizations the user belongs to

get
Responses
200

OK - The organizations the user belongs to

application/json
get
GET /v1/organizations HTTP/1.1
Host: 
Accept: */*
{
  "organizations": [
    {
      "apiVersion": "string",
      "kind": "string",
      "metadata": {
        "additionalInfo": {
          "documentation": [
            {
              "text": "text",
              "url": "text"
            }
          ],
          "message": "string"
        },
        "dateModified": "text",
        "deprecated": true,
        "description": "string",
        "displayName": "string",
        "hash": "text",
        "icon": "string",
        "id": "string",
        "labels": {},
        "name": "string",
        "resourceDocLink": "string",
        "stability": "string",
        "version": 1,
        "warning": "string"
      },
      "spec": {
        "auth0": {
          "displayName": "text",
          "id": "text",
          "name": "text"
        },
        "parameters": [
          {
            "credential": true,
            "name": "text",
            "sensitive": true,
            "value": null
          }
        ]
      },
      "status": {}
    }
  ]
}

Insert a new organization and project

post

This endpoint allows creating a new organization along with a new project and establishes necessary bindings between them.

Body

Body of the request to insert a new organization

accountNamestringOptional
eulaAcceptedbooleanOptional
licenseTypestringOptional
organizationNamestringOptional
Responses
200

Contains the organization and project that was created

application/json
post
POST /v1/organizations HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 89

{
  "accountName": "text",
  "eulaAccepted": true,
  "licenseType": "text",
  "organizationName": "text"
}
{
  "account": {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
      "additionalInfo": {
        "documentation": [
          {
            "text": "text",
            "url": "text"
          }
        ],
        "message": "string"
      },
      "dateModified": "text",
      "deprecated": true,
      "description": "string",
      "displayName": "string",
      "hash": "text",
      "icon": "string",
      "id": "string",
      "labels": {},
      "name": "string",
      "resourceDocLink": "string",
      "stability": "string",
      "version": 1,
      "warning": "string"
    },
    "spec": {
      "alternateSecretKeys": [
        "text"
      ],
      "parameters": [
        {
          "credential": true,
          "name": "text",
          "sensitive": true,
          "value": null
        }
      ],
      "secretKey": "text"
    },
    "status": {}
  },
  "organization": {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
      "additionalInfo": {
        "documentation": [
          {
            "text": "text",
            "url": "text"
          }
        ],
        "message": "string"
      },
      "dateModified": "text",
      "deprecated": true,
      "description": "string",
      "displayName": "string",
      "hash": "text",
      "icon": "string",
      "id": "string",
      "labels": {},
      "name": "string",
      "resourceDocLink": "string",
      "stability": "string",
      "version": 1,
      "warning": "string"
    },
    "spec": {
      "auth0": {
        "displayName": "text",
        "id": "text",
        "name": "text"
      },
      "parameters": [
        {
          "credential": true,
          "name": "text",
          "sensitive": true,
          "value": null
        }
      ]
    },
    "status": {}
  }
}
put
Body
createLicenseTypestringOptional
licenseKeystringOptional
Responses
204

No Content - License key successfully updated

No content

put
PUT /v1/organizations/:id/license HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "createLicenseType": "text",
  "licenseKey": "text"
}

No content

Get all projects associated with the organization by id

get
Responses
200

OK - Contains an array of projects associated with the organization

application/json
get
GET /v1/organizations/accounts HTTP/1.1
Host: 
Accept: */*
{
  "accounts": [
    {
      "apiVersion": "string",
      "kind": "string",
      "metadata": {
        "additionalInfo": {
          "documentation": [
            {
              "text": "text",
              "url": "text"
            }
          ],
          "message": "string"
        },
        "dateModified": "text",
        "deprecated": true,
        "description": "string",
        "displayName": "string",
        "hash": "text",
        "icon": "string",
        "id": "string",
        "labels": {},
        "name": "string",
        "resourceDocLink": "string",
        "stability": "string",
        "version": 1,
        "warning": "string"
      },
      "spec": {
        "alternateSecretKeys": [
          "text"
        ],
        "parameters": [
          {
            "credential": true,
            "name": "text",
            "sensitive": true,
            "value": null
          }
        ],
        "secretKey": "text"
      },
      "status": {}
    }
  ]
}

Get All Organizations and Projects

get

Returns all organizations and all projects in each organization that the user is a member of

Responses
200

OK - Contains all organizations and projects

application/json
get
GET /v1/organizations/accounts/all HTTP/1.1
Host: 
Accept: */*
{
  "activeAccountId": "text",
  "organizationAccounts": [
    {
      "accounts": [
        {
          "apiVersion": "string",
          "kind": "string",
          "metadata": {
            "additionalInfo": {
              "documentation": [
                {
                  "text": "text",
                  "url": "text"
                }
              ],
              "message": "string"
            },
            "dateModified": "text",
            "deprecated": true,
            "description": "string",
            "displayName": "string",
            "hash": "text",
            "icon": "string",
            "id": "string",
            "labels": {},
            "name": "string",
            "resourceDocLink": "string",
            "stability": "string",
            "version": 1,
            "warning": "string"
          },
          "spec": {
            "alternateSecretKeys": [
              "text"
            ],
            "parameters": [
              {
                "credential": true,
                "name": "text",
                "sensitive": true,
                "value": null
              }
            ],
            "secretKey": "text"
          },
          "status": {}
        }
      ],
      "organization": {
        "apiVersion": "string",
        "kind": "string",
        "metadata": {
          "additionalInfo": {
            "documentation": [
              {
                "text": "text",
                "url": "text"
              }
            ],
            "message": "string"
          },
          "dateModified": "text",
          "deprecated": true,
          "description": "string",
          "displayName": "string",
          "hash": "text",
          "icon": "string",
          "id": "string",
          "labels": {},
          "name": "string",
          "resourceDocLink": "string",
          "stability": "string",
          "version": 1,
          "warning": "string"
        },
        "spec": {
          "auth0": {
            "displayName": "text",
            "id": "text",
            "name": "text"
          },
          "parameters": [
            {
              "credential": true,
              "name": "text",
              "sensitive": true,
              "value": null
            }
          ]
        },
        "status": {}
      },
      "ssoEnabled": true
    }
  ]
}

Get all projects associated with the organization by id

get
Responses
200

OK - Contains an array of projects associated with the organization

application/json
get
GET /v1/organizations/projects HTTP/1.1
Host: 
Accept: */*
{
  "accounts": [
    {
      "apiVersion": "string",
      "kind": "string",
      "metadata": {
        "additionalInfo": {
          "documentation": [
            {
              "text": "text",
              "url": "text"
            }
          ],
          "message": "string"
        },
        "dateModified": "text",
        "deprecated": true,
        "description": "string",
        "displayName": "string",
        "hash": "text",
        "icon": "string",
        "id": "string",
        "labels": {},
        "name": "string",
        "resourceDocLink": "string",
        "stability": "string",
        "version": 1,
        "warning": "string"
      },
      "spec": {
        "alternateSecretKeys": [
          "text"
        ],
        "parameters": [
          {
            "credential": true,
            "name": "text",
            "sensitive": true,
            "value": null
          }
        ],
        "secretKey": "text"
      },
      "status": {}
    }
  ]
}

Get All Organizations and Projects

get

Returns all organizations and all projects in each organization that the user is a member of

Responses
200

OK - Contains all organizations and projects

application/json
get
GET /v1/organizations/projects/all HTTP/1.1
Host: 
Accept: */*
{
  "activeAccountId": "text",
  "organizationAccounts": [
    {
      "accounts": [
        {
          "apiVersion": "string",
          "kind": "string",
          "metadata": {
            "additionalInfo": {
              "documentation": [
                {
                  "text": "text",
                  "url": "text"
                }
              ],
              "message": "string"
            },
            "dateModified": "text",
            "deprecated": true,
            "description": "string",
            "displayName": "string",
            "hash": "text",
            "icon": "string",
            "id": "string",
            "labels": {},
            "name": "string",
            "resourceDocLink": "string",
            "stability": "string",
            "version": 1,
            "warning": "string"
          },
          "spec": {
            "alternateSecretKeys": [
              "text"
            ],
            "parameters": [
              {
                "credential": true,
                "name": "text",
                "sensitive": true,
                "value": null
              }
            ],
            "secretKey": "text"
          },
          "status": {}
        }
      ],
      "organization": {
        "apiVersion": "string",
        "kind": "string",
        "metadata": {
          "additionalInfo": {
            "documentation": [
              {
                "text": "text",
                "url": "text"
              }
            ],
            "message": "string"
          },
          "dateModified": "text",
          "deprecated": true,
          "description": "string",
          "displayName": "string",
          "hash": "text",
          "icon": "string",
          "id": "string",
          "labels": {},
          "name": "string",
          "resourceDocLink": "string",
          "stability": "string",
          "version": 1,
          "warning": "string"
        },
        "spec": {
          "auth0": {
            "displayName": "text",
            "id": "text",
            "name": "text"
          },
          "parameters": [
            {
              "credential": true,
              "name": "text",
              "sensitive": true,
              "value": null
            }
          ]
        },
        "status": {}
      },
      "ssoEnabled": true
    }
  ]
}

Get all users associated with the organization by id

get
Responses
200

OK - Contains an array of users associated with the organization

application/json
get
GET /v1/organizations/users HTTP/1.1
Host: 
Accept: */*
{
  "users": [
    {
      "apiVersion": "string",
      "kind": "string",
      "metadata": {
        "additionalInfo": {
          "documentation": [
            {
              "text": "text",
              "url": "text"
            }
          ],
          "message": "string"
        },
        "dateModified": "text",
        "deprecated": true,
        "description": "string",
        "displayName": "string",
        "hash": "text",
        "icon": "string",
        "id": "string",
        "labels": {},
        "name": "string",
        "resourceDocLink": "string",
        "stability": "string",
        "version": 1,
        "warning": "string"
      },
      "spec": {
        "activeAccount": "text",
        "email": "text",
        "nextLoginAccount": "text",
        "requestedMFA": true
      },
      "status": {}
    }
  ]
}

Check Organization Display Name Usage

put

Verifies whether the provided display name for an organization is already used by any existing organization.

Body

Body of the request to verify an organization name

namestringOptional

The organization name to verify

Responses
200

OK - Contains a boolean indicating if the display name is in use

application/json
put
PUT /v1/organizations/verify HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
{
  "valid": true
}

Delete organization by id

delete
Path parameters
idstringRequired

the id of the organization to delete

Responses
204

Successful Delete, no content

No content

delete
DELETE /v1/organizations/{id} HTTP/1.1
Host: 
Accept: */*

No content

Update Organization Display Name

patch

Updates the display name of the organization specified by the ID.

Path parameters
idstringRequired

The ID of the organization

Body

Body of the request to update organization metadata

namestringOptional

The updated organization name

Responses
200

OK - Display name updated successfully

No content

patch
PATCH /v1/organizations/{id}/metadata HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}

No content

Get organization by name

get
Path parameters
namestringRequired

the name of the organization to retrieve

Responses
200

OK - The organization requested by name

application/json
get
GET /v1/organizations/{name} HTTP/1.1
Host: 
Accept: */*
{
  "organization": {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
      "additionalInfo": {
        "documentation": [
          {
            "text": "text",
            "url": "text"
          }
        ],
        "message": "string"
      },
      "dateModified": "text",
      "deprecated": true,
      "description": "string",
      "displayName": "string",
      "hash": "text",
      "icon": "string",
      "id": "string",
      "labels": {},
      "name": "string",
      "resourceDocLink": "string",
      "stability": "string",
      "version": 1,
      "warning": "string"
    },
    "spec": {
      "auth0": {
        "displayName": "text",
        "id": "text",
        "name": "text"
      },
      "parameters": [
        {
          "credential": true,
          "name": "text",
          "sensitive": true,
          "value": null
        }
      ]
    },
    "status": {}
  }
}

Was this helpful?