Product

PUT /api/product/{product_id}

Request

Request body

namestring
rolesstring

Example request

{
  "name": "Product 1",
  "roles": "1,2,3",
  "surface_limit": {
    "organization": 500,
    "user": 100
  }
}

Response

Products details.

idinteger
namestring
badgestring
export_limitinteger
organization_surface_limitinteger nullable
user_surface_limitinteger nullable

Example response

{
  "id": 1,
  "name": "Product 1",
  "badge": "su",
  "organization_surface_limit": 500,
  "user_surface_limit": 100,
  "roles": [
    {
      "id": 1,
      "name": "admin",
      "display_name": "Administrator",
      "description": "Administrator"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.