Skip to main content

OrganizationsApi

MethodHTTP requestDescription
createOrganizationUsingPOSTPOST /api/web/v1/organizationsCreate an organization
createUserOrganizationAssociationUsingPOSTPOST /api/web/v1/organizations/{orgid}/users/{userid}Add user to organization
deleteUserOrganizationAssociationUsingDELETEDELETE /api/web/v1/organizations/{orgid}/users/{userid}Remove user from organization
getOrganizationUsingGETGET /api/web/v1/organizations/{id}Get an organization
organizationsPagedUsingPOSTPOST /api/web/v1/organizationspagedList a page of organizations
removeOrganizationUsingDELETEDELETE /api/web/v1/organizations/{id}Delete an organization
updateOrganizationUsingPUTPUT /api/web/v1/organizations/{id}Update an organization

createOrganizationUsingPOST

Organization createOrganizationUsingPOST(organizationParms)

Create an organization

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

Parameters

NameTypeDescriptionNotes
organizationParmsOrganizationParms

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-

createUserOrganizationAssociationUsingPOST

createUserOrganizationAssociationUsingPOST(orgid, userid)

Add user to organization

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

Example

Parameters

NameTypeDescriptionNotes
orgidStringThe UUID of the organization.
useridStringThe UUID of the user to be added to the organization.

Return type

null (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-

deleteUserOrganizationAssociationUsingDELETE

deleteUserOrganizationAssociationUsingDELETE(orgid, userid)

Remove user from organization

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

Example

Parameters

NameTypeDescriptionNotes
orgidStringThe UUID of the organization.
useridStringThe UUID of the user to be remove from the organization.

Return type

null (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-

getOrganizationUsingGET

Organization getOrganizationUsingGET(id)

Get an organization

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe 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-

organizationsPagedUsingPOST

OrganizationPage organizationsPagedUsingPOST(searchParms)

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

Parameters

NameTypeDescriptionNotes
searchParmsSearchParms

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-

removeOrganizationUsingDELETE

removeOrganizationUsingDELETE(id)

Delete an organization

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the organization to be removed.

Return type

null (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-

updateOrganizationUsingPUT

Organization updateOrganizationUsingPUT(id, organizationParms)

Update an organization

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the organization to be modified.
organizationParmsOrganizationParms

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-