Skip to main content

UserAttributesApi

MethodHTTP requestDescription
CreateUserAttributeUsingPOSTPOST /api/web/v1/userattributesCreate a user attribute
DeleteUserAttributeUsingDELETEDELETE /api/web/v1/userattributes/{id}Delete a user attribute
GetUserAttributeUsingGETGET /api/web/v1/userattributes/{id}Get a user attribute
ListUserAttributesUsingGETGET /api/web/v1/userattributesList user attributes
ModifyUserAttributeUsingPUTPUT /api/web/v1/userattributes/{id}Modify a user attribute

CreateUserAttributeUsingPOST

UserAttribute CreateUserAttributeUsingPOST (UserAttributeParms userAttributeParms)

Create a user attribute

Create a user attribute. Caller requires the USERATTRIBUTES:ADD permission.

Using the CreateUserAttributeUsingPOSTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
userAttributeParmsUserAttributeParms

Return type

UserAttribute

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-

DeleteUserAttributeUsingDELETE

void DeleteUserAttributeUsingDELETE (string id)

Delete a user attribute

Delete the specified user attribute. Caller requires the USERATTRIBUTES:REMOVE permission.

Example

Using the DeleteUserAttributeUsingDELETEWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the user attribute to delete.

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-

GetUserAttributeUsingGET

UserAttribute GetUserAttributeUsingGET (string id)

Get a user attribute

Get the specified user attribute. Caller requires the USERATTRIBUTES:VIEW permission.

Example

Using the GetUserAttributeUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the user attribute to get.

Return type

UserAttribute

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-

ListUserAttributesUsingGET

List<UserAttribute> ListUserAttributesUsingGET ()

List user attributes

List all user attributes defined for the account. Caller requires the USERATTRIBUTES:VIEW permission.

Example

Using the ListUserAttributesUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

This endpoint does not need any parameter.

Return type

List<UserAttribute>

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-

ModifyUserAttributeUsingPUT

UserAttribute ModifyUserAttributeUsingPUT (string id, UserAttributeParms userAttributeParms)

Modify a user attribute

Modify the specified user attribute. Caller requires the USERATTRIBUTES:EDIT permission.

Example

Using the ModifyUserAttributeUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the user attribute to be modified.
userAttributeParmsUserAttributeParms

Return type

UserAttribute

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-