Update Authorization Permission
Update Rbac authorization permissions.
Request
URI
PUT
https://{api_host}/admin/hybridity/api/authz/rbac/permissions/{permissionId}
COPY
Path Parameters
string
permissionId
Required
permission ID
Request Body
request payload.
permission of type(s) application/json
Required
{
"roleId": "roleId",
"name": "name",
"roleName": "roleName",
"description": "description",
"objectFilters": [
{
"pipeLine": [
{
"predicate": "AND",
"filters": [
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
},
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
}
]
},
{
"predicate": "AND",
"filters": [
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
},
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
}
]
}
],
"name": "name",
"description": "description",
"objectType": "Network Function Catalog"
},
{
"pipeLine": [
{
"predicate": "AND",
"filters": [
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
},
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
}
]
},
{
"predicate": "AND",
"filters": [
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
},
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
}
]
}
],
"name": "name",
"description": "description",
"objectType": "Network Function Catalog"
}
],
"id": "id",
"usersAndGroups": [
"usersAndGroups",
"usersAndGroups"
],
"creationDate": "creationDate"
}
string
id
Optional
id
string
name
Optional
name
string
description
Optional
description
string
roleId
Optional
roleId
string
creationDate
Optional
creationDate
string
roleName
Optional
roleName
array of string
usersAndGroups
Required
usersAndGroups
Responses
200
Successfully updated requested permission.
Returns permission of type(s) application/json
{
"roleId": "roleId",
"name": "name",
"roleName": "roleName",
"description": "description",
"objectFilters": [
{
"pipeLine": [
{
"predicate": "AND",
"filters": [
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
},
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
}
]
},
{
"predicate": "AND",
"filters": [
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
},
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
}
]
}
],
"name": "name",
"description": "description",
"objectType": "Network Function Catalog"
},
{
"pipeLine": [
{
"predicate": "AND",
"filters": [
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
},
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
}
]
},
{
"predicate": "AND",
"filters": [
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
},
{
"path": "path",
"attributeOperator": "ANYOF",
"attributeType": "",
"attributeValues": [
"attributeValues",
"attributeValues"
],
"attribute": "attribute"
}
]
}
],
"name": "name",
"description": "description",
"objectType": "Network Function Catalog"
}
],
"id": "id",
"usersAndGroups": [
"usersAndGroups",
"usersAndGroups"
],
"creationDate": "creationDate"
}
string
id
Optional
id
string
name
Optional
name
string
description
Optional
description
string
roleId
Optional
roleId
string
creationDate
Optional
creationDate
string
roleName
Optional
roleName
array of string
usersAndGroups
Required
usersAndGroups
400
Bad Request
Returns errorResponse of type(s) application/json
{
"errors": [
{
"code": "code",
"message": "message"
}
]
}
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
500
Internal Server Error
Returns errorResponse of type(s) application/json
{
"errors": [
{
"code": "code",
"message": "message"
}
]
}
On This Page
Rbac Permissions Operations
POST
Create Authorization Permission
DELETE
Delete Authorization Permission
POST
Get Permissions By Filter
PUT
Update Authorization Permission
POST
Validate Authorization Permission