Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 2.27 KB

ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.md

File metadata and controls

32 lines (24 loc) · 2.27 KB

ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1

Properties

Name Type Description Notes
role str The role slug to assign to the newly created identity project membership.
is_temporary bool Whether the assigned role is temporary. If isTemporary is set true, must provide temporaryMode, temporaryRange and temporaryAccessStartTime.
temporary_mode str Type of temporary expiry.
temporary_range str Expiry time for temporary access. In relative mode it could be 1s,2m,3h
temporary_access_start_time datetime Time to which the temporary access starts

Example

from infisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1 import ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1

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

# convert the object into a dict
api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1_dict = api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1_instance.to_dict()
# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 from a dict
api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1_from_dict = ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.from_dict(api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1_dict)

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