Mutation
mutation UpdateSpaceProfileQuestions($input: UpdateSpaceProfileQuestionsInput!) {
updateSpaceProfileQuestions(input: $input) {
clientMutationId
errors
profileQuestions {
context
id
position
required
resourceId
text
}
}
}Variables
{
"input": {
"questions": [
{
"context": "DEFAULT",
"text": "string"
}
],
"spaceId": "id"
}
}Response
{
"data": {
"updateSpaceProfileQuestions": {
"clientMutationId": "string",
"errors": [
"string"
],
"profileQuestions": [
{
"context": "DEFAULT",
"id": "id",
"position": 1,
"required": true,
"resourceId": "id",
"text": "string"
}
]
}
}
}Mutations
updateSpaceProfileQuestions
Replace the profile questions on a Space’s join flow. Questions with an ID are updated, questions without one are created, and existing questions omitted from the list are removed. Host of the Space only.
Required scope: host:write:network_spaces
MUTATION
updateSpaceProfileQuestions(input: UpdateSpaceProfileQuestionsInput!): UpdateSpaceProfileQuestionsPayloadArguments
input
required
Parameters for UpdateSpaceProfileQuestions
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
profileQuestions
The Space's questions after the update.
Mutation
mutation UpdateSpaceProfileQuestions($input: UpdateSpaceProfileQuestionsInput!) {
updateSpaceProfileQuestions(input: $input) {
clientMutationId
errors
profileQuestions {
context
id
position
required
resourceId
text
}
}
}Variables
{
"input": {
"questions": [
{
"context": "DEFAULT",
"text": "string"
}
],
"spaceId": "id"
}
}Response
{
"data": {
"updateSpaceProfileQuestions": {
"clientMutationId": "string",
"errors": [
"string"
],
"profileQuestions": [
{
"context": "DEFAULT",
"id": "id",
"position": 1,
"required": true,
"resourceId": "id",
"text": "string"
}
]
}
}
}