Skip to main content

UserAttributesApi

MethodHTTP requestDescription
create_user_attribute_using_postPOST /api/web/v1/userattributesCreate a user attribute
delete_user_attribute_using_deleteDELETE /api/web/v1/userattributes/{id}Delete a user attribute
get_user_attribute_using_getGET /api/web/v1/userattributes/{id}Get a user attribute
list_user_attributes_using_getGET /api/web/v1/userattributesList user attributes
modify_user_attribute_using_putPUT /api/web/v1/userattributes/{id}Modify a user attribute

create_user_attribute_using_post

UserAttribute create_user_attribute_using_post(user_attribute_parms)

Create a user attribute

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

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
user_attribute_parmsUserAttributeParms

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-

delete_user_attribute_using_delete

delete_user_attribute_using_delete(id)

Delete a user attribute

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

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

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

get_user_attribute_using_get

UserAttribute get_user_attribute_using_get(id)

Get a user attribute

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

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

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

list_user_attributes_using_get

List[UserAttribute] list_user_attributes_using_get()

List user attributes

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

Example

  • Api Key Authentication (AdminAPIAuthentication):

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-

modify_user_attribute_using_put

UserAttribute modify_user_attribute_using_put(id, user_attribute_parms)

Modify a user attribute

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

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the user attribute to be modified.
user_attribute_parmsUserAttributeParms

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-