Skip to main content

portalUserRemovableCompanies

Returns the other companies the user belongs to that the requester may also remove them from

portalUserRemovableCompanies(
companyId: ID!
portalUserId: ID!
): [Company!]!

Arguments​

portalUserRemovableCompanies.companyId ● ID! non-null scalar​

portalUserRemovableCompanies.portalUserId ● ID! non-null scalar​

Type​

Company object​

Example request

This generated query uses placeholders for required values. Replace them with values available to your API key before running it.

Before you run it

Run the companies query first and use data.companies.collection[].id as companyId.

curl --request POST https://api.convisoappsec.com/graphql \
--header "x-api-key: $CONVISO_API_KEY" \
--header "content-type: application/json" \
--data '{"query":"query GetPortalUserRemovableCompanies($companyId: ID!, $portalUserId: ID!) {\n portalUserRemovableCompanies(companyId: $companyId, portalUserId: $portalUserId) { id label active }\n}","variables":{"companyId":"<company_id>","portalUserId":"<portal_user_id>"}}'

Contribute to the Docs

Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.

How to contribute