Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.19 KB

File metadata and controls

32 lines (23 loc) · 1.19 KB

AccessCheckResponse

Result of an admin access-check for a target user on a path part.

Properties

Name Type Description Notes
allowed bool Whether the user has the capability
reason str Why access was granted or denied
matched_path str The permission path that granted access (None if denied or role bypass) [optional]

Example

from ksapi.models.access_check_response import AccessCheckResponse

# TODO update the JSON string below
json = "{}"
# create an instance of AccessCheckResponse from a JSON string
access_check_response_instance = AccessCheckResponse.from_json(json)
# print the JSON string representation of the object
print(AccessCheckResponse.to_json())

# convert the object into a dict
access_check_response_dict = access_check_response_instance.to_dict()
# create an instance of AccessCheckResponse from a dict
access_check_response_from_dict = AccessCheckResponse.from_dict(access_check_response_dict)

[Back to Model list] [Back to API list] [Back to README]