Update keyset name and/or type

PATCH 

/v2/keysets/:id

Updates a keyset's name and/or type. At least one field must be provided.

Note:

  • Free and paid accounts can convert testing keysets to production, subject to authorization and applicable feature restrictions. Conversion retains the keyset identity and does not consume another slot in the total account keyset quota, even when that quota is exhausted.
  • Testing keysets have lower rate limits. Production mode does not grant paid-plan entitlements.

Request​

Example
{
  "name": "string",
  "type": "testing",
  "appId": "string",
  "id": "string",
  "publishKey": "string",
  "subscribeKey": "string",
  "createdAt": "string",
  "updatedAt": "string"
}
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": "InternalError",
  "message": [
    "string"
  ]
}