UserAccessInput
No description
input UserAccessInput {
portalUserId: ID!
accessProfileId: ID
companyId: ID!
blocked: Boolean
teamsIds: [ID!]
accesses: AccessInput
inactive: Boolean
}
Fields
UserAccessInput.portalUserId ● ID! non-null scalar
User ID to be updated.
UserAccessInput.accessProfileId ● ID scalar
The user's own profile in the company. Leave it out to keep the current one, send an id to set it, or send null to remove it. A user may go without one only while in a team of the company with a profile: null, and an edit of the teams or accesses of a user who has none, are refused when they would leave the user otherwise. Direct accesses are saved either way, but open no asset, project or vulnerability while the user has no profile of their own, so a removal also unassigns the user from what only those accesses reached. In a company whose SSO maps roles to profiles, a login with no mapped role binds viewer-only again to a user left without one.
UserAccessInput.companyId ● ID! non-null scalar
Company ID that user belongs.
UserAccessInput.blocked ● Boolean scalar
Indicates whether the user should be blocked or unblocked. Set to true to block the user, and false to unblock.
UserAccessInput.teamsIds ● [ID!] list scalar
UserAccessInput.accesses ● AccessInput input
The accesses that will be granted to this user.
UserAccessInput.inactive ● Boolean scalar
Indicates whether the user should be inactive. Set to true to deactivate the user
Member Of
Contribute to the Docs
Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.
How to contribute