For the complete documentation index, see llms.txt. This page is also available as Markdown.

updateMember

Will update an existing org member.

Examples

mutation UpdateMember($updateMemberInput: UpdateMemberInput) {
  updateMember(updateMemberInput: $updateMemberInput) {
    userId
    roleIDs
    scopes
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "updateMemberInput": {
    "userId": "example",
    "roleIDs": ["example"],
    "scopes": "example"
  }
}
curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
 "query": "mutation UpdateMember($updateMemberInput: UpdateMemberInput) { updateMember(updateMemberInput: $updateMemberInput) { userId roleIDs scopes } }",
 "variables": {
    "updateMemberInput": {
      "userId": "example",
      "roleIDs": ["example"],
      "scopes": "example"
    }
  }
}'

Arguments

You can use the following argument(s) to customize your updateMember mutation.

Argument
Description
Supported fields

updateMemberInput UpdateMemberInput

userId String! roleIDs [String] scopes String

Fields

Return type: UpdateMemberResponse

You can use the following field(s) to specify what information your updateMember mutation will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

userId String!

user ID

roleIDs [String]

list of roles assigned for the user

scopes String

list of scopes assigned for the user as string

Last updated