customerActivateTeamMember
Requires a customer (portal or buyer app) session.
Re-activate a deactivated teammate (CUSTOMER_ADMIN only) — the undo for customerDeactivateTeamMember. Idempotent on an already-active member.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
mutation CustomerActivateTeamMember($userId: ID!) {
customerActivateTeamMember(userId: $userId)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation CustomerActivateTeamMember($userId: ID!) {\n customerActivateTeamMember(userId: $userId)\n}",
"variables": {
"userId": "id"
}
}
EOF
Variables:
{
"userId": "id"
}
Response:
{
"data": {
"customerActivateTeamMember": true
}
}
customerActivateTeamMember(
userId: ID!
): Boolean!
Arguments
customerActivateTeamMember.userId ● ID! non-null scalar
The ID of the user.
Type
Boolean scalar
The Boolean scalar type represents true or false.