Account Management

Update the name and/or permissions assigned to a role.

post/roles/{id}

Request

  • Base URL: https://api.armor.com
  • URL: https://api.armor.com/roles/{id}
  • Auth: none declared

Path parameters

idinteger required

Role ID

Request body

namestring
permissionsinteger[]

Example request

{
  "name": "Admin",
  "permissions": [
    1,
    2
  ]
}

Response

OK

idinteger
namestring
createdstring date-time
modifiedstring date-time
permissionsinteger[]
defaultboolean

Changes

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