Update a permission set
Changed onRequest
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/roles/{id}
- Authnone declared
Path parameters
Request body
Example request
{
"data": {
"type": "roles",
"attributes": {
"name": "Project Manager",
"description": "Can manage projects, budgets, and team members",
"base_role_id": 2
}
}
}Response
Single role
Example response
{
"data": {
"id": "5",
"type": "roles",
"attributes": {
"name": "Project Manager",
"description": "Can manage projects, budgets, and team members",
"base_role_id": 2,
"people_count": 8,
"active_users_count": 6,
"inactive_users_count": 2,
"active_agents_count": 0,
"inactive_agents_count": 0,
"editable_by_user": true,
"user_type_id": 1,
"permissions": {
"manage_projects": true,
"manage_budgets": true,
"view_financials": false
}
}
},
"included": []
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- breaking
the
//response's property type changed fromstringto no type for status - warning
deleted the
headerrequest parameterX-Organization-Id
This list may be incomplete.
- breaking