Update keyset configuration
Updates the configuration for a specific keyset. This is a partial update - only the provided fields will be updated - other fields will remain unchanged.
| Path Parameters |
|---|
id string — REQUIRED |
| Header Parameters |
|---|
PubNub-Version string — REQUIREDPossible values: [ |
| Request Body — REQUIRED | ||||||||
|---|---|---|---|---|---|---|---|---|
accessManager object
| ||||||||
files object
| ||||||||
streamController object
| ||||||||
appContext object
| ||||||||
apns object
| ||||||||
fcm object
| ||||||||
messagePersistence object
| ||||||||
presence object
|
| Responses | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200Success
| ||||||||||||||||||||||||||||||||||||||||||
400Bad Request Error
| ||||||||||||||||||||||||||||||||||||||||||
401UnauthorizedError
| ||||||||||||||||||||||||||||||||||||||||||
403ForbiddenError
| ||||||||||||||||||||||||||||||||||||||||||
404NotFoundError
| ||||||||||||||||||||||||||||||||||||||||||
500InternalErrorError
|
PubNub-Version*2025-11-15]id*accessManagerfilesstreamControllerappContextapnsfcmmessagePersistencepresence{
"accessManager": {
"enabled": true,
"tokenRevoke": true
},
"appContext": {
"enabled": true,
"disallowGetAllChannelMetadata": true
}
}accessManagerfilesstreamControllerappContextapnsfcmmessagePersistencepresence{
"accessManager": {
"enabled": true,
"tokenRevoke": true
},
"files": {
"enabled": true,
"retention": 90,
"region": "us-east-1"
},
"streamController": {
"enabled": true,
"wildcardSubscribe": true,
"channelGroupLimit": 50
},
"appContext": {
"enabled": true,
"userMetadataEvents": true,
"channelMetadataEvents": true,
"membershipEvents": true,
"disallowGetAllChannelMetadata": false,
"disallowGetAllUserMetadata": false,
"referentialIntegrity": true,
"region": "aws-iad-1"
},
"apns": {
"enabled": true,
"teamId": "ABCD1234EF",
"authKeyId": "XYZ9876ABC",
"filename": "AuthKey_XYZ9876ABC.p8"
},
"fcm": {
"filename": "firebase-service-account.json"
},
"messagePersistence": {
"enabled": true,
"includePresenceEvents": false,
"deleteFromHistory": false,
"retention": 90
},
"presence": {
"enabled": true,
"deltas": true,
"generateLeaveOnDisconnect": true,
"streamFiltering": true,
"activeNoticeChannel": null,
"announceMax": 50,
"interval": 60,
"debounce": 5
}
}statusCodeerrorView all values
"BadRequest"messageitemsstatusCodeerrorView all values
"Unauthorized"messageitemsstatusCodeerrorView all values
"NotFound"messageitemsstatusCodeerrorView all values
"InternalError"messageitems