Mutation
mutation NamespaceUpdate($input: NamespaceUpdateInput!) {
namespaceUpdate(input: $input) {
errors {
code
message
}
namespace {
apiKeys {
apiKey {
__typename
}
roleConfig {
__typename
}
}
avatar
avatarThumbnail
createdAt
description
id
}
}
}Variables
{
"input": {
"id": "value"
}
}Response
{
"data": {
"namespaceUpdate": {
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
],
"namespace": {
"apiKeys": [
{
"apiKey": {
"__typename": "ApiKey"
},
"roleConfig": {
"__typename": "NamespaceRoleConfig"
}
}
],
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"description": "string",
"id": "value"
}
}
}
}Mutations
namespaceUpdate
Update a namespace. Requires NAMESPACES_WRITE permissions.
MUTATION
namespaceUpdate(input: NamespaceUpdateInput!): NamespaceUpdateResult!Arguments
input
required
Returns
errors
[ApiError!]!
A list of errors that occurred during the delete process.
namespace
The namespace updated after a successful request.
Mutation
mutation NamespaceUpdate($input: NamespaceUpdateInput!) {
namespaceUpdate(input: $input) {
errors {
code
message
}
namespace {
apiKeys {
apiKey {
__typename
}
roleConfig {
__typename
}
}
avatar
avatarThumbnail
createdAt
description
id
}
}
}Variables
{
"input": {
"id": "value"
}
}Response
{
"data": {
"namespaceUpdate": {
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
],
"namespace": {
"apiKeys": [
{
"apiKey": {
"__typename": "ApiKey"
},
"roleConfig": {
"__typename": "NamespaceRoleConfig"
}
}
],
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"description": "string",
"id": "value"
}
}
}
}