Role

Update a role.

post/role/{roleId}

Request

  • Base URL: https://api.pangolin.net/v1
  • URL: https://api.pangolin.net/v1/role/{roleId}
  • Auth: HTTP bearer

Path parameters

roleIdinteger required

Request body

namestring
descriptionstring
requireDeviceApprovalboolean
allowSshboolean
sshSudoMode'none' | 'full' | 'commands'
sshSudoCommandsstring[]
sshCreateHomeDirboolean
sshUnixGroupsstring[]

Response

Successful response

dataobject nullable required
successboolean required
errorboolean required
messagestring required
statusnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.