Update keyset configuration

PATCH 

/v2/keysets/:id/config

Updates the configuration for a specific keyset. This is a partial update - only the provided fields will be updated - other fields will remain unchanged. Removing a property from the body does not reset it to a default. A complete presence.rules list replaces the stored rules. A config returned by the get operation can be sent back unchanged, except for the response-only values described on presence.enableLegacySDKTracking and presence.rules. Settings that have a platform default cannot be set to null: sending it is rejected with 400. The response reports the same values as the get operation. The region of files, appContext and dataSync can be omitted or sent as null while no region has ever been set, so the config returned by the get operation is accepted unchanged. A region cannot be unset: null for a region that is already set is rejected with 400. A feature cannot be left enabled without a region: enabling it requires a region, unless one is already set. Push notification credentials are not part of the configuration: fcm and apns in the body are ignored, use the FCM and APNs upload operations instead.

Request​

Example
{
  "accessManager": {
    "enabled": false,
    "tokenRevoke": false
  },
  "files": {
    "enabled": false,
    "region": "string",
    "retention": 0
  },
  "streamController": {
    "enabled": false,
    "wildcardSubscribe": false,
    "channelGroupLimit": 0
  },
  "appContext": {
    "enabled": false,
    "userMetadataEvents": false,
    "channelMetadataEvents": false,
    "membershipEvents": false,
    "disallowGetAllChannelMetadata": false,
    "disallowGetAllUserMetadata": false,
    "referentialIntegrity": false,
    "region": "string"
  },
  "dataSync": {
    "enabled": false,
    "region": "string"
  },
  "messagePersistence": {
    "enabled": false,
    "includePresenceEvents": false,
    "deleteFromHistory": false,
    "retention": 0
  },
  "presence": {
    "enabled": false,
    "deltas": false,
    "generateLeaveOnDisconnect": false,
    "streamFiltering": false,
    "activeNoticeChannel": "string",
    "announceMax": 0,
    "interval": 0,
    "debounce": 0,
    "enableLegacySDKTracking": false,
    "rules": [
      {
        "pattern": "string",
        "tracking": {}
      }
    ]
  }
}
Example
{
  "statusCode": 0,
  "error": "BadRequest",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "Unauthorized",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "Forbidden",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "NotFound",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "UnsupportedPresenceRules",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "InternalError",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "ServiceUnavailable",
  "message": [
    "string"
  ]
}