You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
frominfisicalapi_client.models.api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1importApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1# TODO update the JSON string belowjson="{}"# create an instance of ApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1 from a JSON stringapi_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 objectprintApiV2WorkspaceProjectIdIdentityMembershipsIdentityIdPatchRequestRolesInnerAnyOf1.to_json()
# convert the object into a dictapi_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 dictapi_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)