Skip to main content

OrganizationsApi

MethodHTTP requestDescription
create_organization_using_postPOST /api/web/v1/organizationsCreate an organization
create_user_organization_association_using_postPOST /api/web/v1/organizations/{orgid}/users/{userid}Add user to organization
delete_user_organization_association_using_deleteDELETE /api/web/v1/organizations/{orgid}/users/{userid}Remove user from organization
get_organization_using_getGET /api/web/v1/organizations/{id}Get an organization
organizations_paged_using_postPOST /api/web/v1/organizationspagedList a page of organizations
remove_organization_using_deleteDELETE /api/web/v1/organizations/{id}Delete an organization
update_organization_using_putPUT /api/web/v1/organizations/{id}Update an organization

create_organization_using_post

Organization create_organization_using_post(organization_parms)

Create an organization

Create an organization. Caller requires the ORGANIZATIONS:ADD permission.

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
organization_parmsOrganizationParms

Return type

Organization

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

create_user_organization_association_using_post

create_user_organization_association_using_post(orgid, userid)

Add user to organization

Add user to organization. Caller requires the ORGANIZATIONS:EDIT permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
orgidstrThe UUID of the organization.
useridstrThe UUID of the user to be added to the organization.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

delete_user_organization_association_using_delete

delete_user_organization_association_using_delete(orgid, userid)

Remove user from organization

Remove user from organization. Caller requires the ORGANIZATIONS:EDIT permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
orgidstrThe UUID of the organization.
useridstrThe UUID of the user to be remove from the organization.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

get_organization_using_get

Organization get_organization_using_get(id)

Get an organization

Get the specified organization. Caller requires the ORGANIZATIONS:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the organization to be returned.

Return type

Organization

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

organizations_paged_using_post

OrganizationPage organizations_paged_using_post(search_parms)

List a page of organizations

Returns organizations for the provided search parameters. Caller requires the ORGANIZATIONS:VIEW permission. The following searchByAttributes are supported:

  • displayName: a string value that indicates the display name of the organizations. Allowed operators are: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH.
  • name: a string value that indicates the name of the organizations. Allowed operators are: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH.

If you provide more than one search attribute, they are joined with an AND condition.

The orderByAttribute supports these attribute names: displayName, name.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
search_parmsSearchParms

Return type

OrganizationPage

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

remove_organization_using_delete

remove_organization_using_delete(id)

Delete an organization

Delete the specified organization. Caller requires the ORGANIZATIONS:REMOVE permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the organization to be removed.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

update_organization_using_put

Organization update_organization_using_put(id, organization_parms)

Update an organization

Update the specified organization. Caller requires the ORGANIZATIONS:EDIT permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the organization to be modified.
organization_parmsOrganizationParms

Return type

Organization

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-