permissions

Updates an permission

Updates an permission

patch/permissions/{permissionId}

Request

  • Base URL
    https://provisioning.commercelayer.io
  • URL
    https://provisioning.commercelayer.io/permissions/{permissionId}
  • Auth
    HTTP bearer

Path parameters

permissionIdstring required

The ID of the resource.

Request body

Example request

{
  "data": {
    "id": "XGZwpOSrWL",
    "attributes": {
      "reference": "ANY-EXTERNAL-REFEFERNCE",
      "reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
      "metadata": {
        "foo": "bar"
      }
    }
  }
}

Response

The updated permission object

Changes

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