POST:organizations/roles.json
Commerce APIPOST:organizations/roles.json

POST:organizations/roles.json

organizationsRolesModify

Description

Modify one or multiple roles.

You cannot give more permissions to roles than you currently have.

Topic: Roles

Query Parameters

ids: Comma-separated array of String, required

List of role ids. See also: Unique Identifiers

Example: ?ids=ro_EQzGqWoY,ro_EQzGqWoY


organization_id: String, required

Unique organization identifier. See also: Unique Identifiers

Example: ?organization_id=og_EQzGqWoY

Request Body

Array of RoleModify

[
  {
    "name": "Administrator",
    "permissions": [
      ""
    ]
  }
]

Response Body

Array of Role

Response Body Type

Loading module