...
| Description | Create a user property |
URL | /api/user_properties |
| Method | POST |
| Security | Requires Global Administrator role |
Examples
...Create property 'myProperty' with value 'myValue' for user 'admin/admin':
Code Block language none xxxxcurl -u admin:admin -d "key=myProperty&value=myValue" -X POST http://localhost:9000/api/user_properties
Parameters
Parameter | Description | Required | Default Value | Value |
|---|---|---|---|---|
| key | Key of the user property | Yes | None | |
| value | Value of the user property | No | None |
Update a User Property
| Description | Update a user property |
URL | /api/user_properties |
| Method | PUT |
| Security | Requires Global Administrator role |
Examples
...Update property 'myProperty' with value 'myValue' for user 'admin/admin':
Code Block language none xxxxcurl -u admin:admin -X PUT "http://localhost:9000/api/user_properties/myProperty?value=myValue"
Parameters
Parameter | Description | Required | Default Value | Value |
|---|---|---|---|---|
| key | Key of the user property | Yes | None |
| value | Value of the user property | Yes | None |
Delete a User Property
| Description | Delete a user property |
URL | /api/user_properties |
| Method | DELETE |
| Security | Requires Global Administrator role |
Examples
...Delete property 'myProperty' for user 'admin/admin':
Code Block language none xxxxcurl -u admin:admin -X DELETE http://localhost:9000/api/user_properties/myProperty
Parameters
Parameter | Description | Required | Default Value | Value |
|---|---|---|---|---|
| key | Key of the user property | Yes | None |

