Name |
Type |
Description |
Notes |
api_name |
str |
The name of the role. There is a limit of 255 characters per role. |
|
actions |
List[str] |
Action allowed for the API endpoint. Basically `CREATE` corresponds to POST endpoints, `READ` to GET endpoints, `UPDATE` to PATCH / PUT endpoints and `DELETE` to DELETE endpoints. |
|
resources |
List[int] |
The IDs of tags. Only if those tags are assgined to a resource the user with that role will be able to access the resource. |
[optional] |
from pfruck_contabo.models.permission_request import PermissionRequest
# TODO update the JSON string below
json = "{}"
# create an instance of PermissionRequest from a JSON string
permission_request_instance = PermissionRequest.from_json(json)
# print the JSON string representation of the object
print(PermissionRequest.to_json())
# convert the object into a dict
permission_request_dict = permission_request_instance.to_dict()
# create an instance of PermissionRequest from a dict
permission_request_from_dict = PermissionRequest.from_dict(permission_request_dict)
[Back to Model list] [Back to API list] [Back to README]