Skip to content

Update

These APIs are used to update and maintain concurrency of fields between separate security objects. i.e. If adding a role to a group object, this will also add the group to the role object.

POST /api/security/update/:id

Used to update a specific field with the given data on two different objects.

Params

:id - ID of the user, group or role you wish to update

Request

type - the type to be updated
field - the field to be updated
action - the action to take, one of 'add' or 'remove'
data - the user data you wish to update

Response

200 - OK on success