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:

  • Updating a keyset from testing to production requires a paid plan

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"
  ]
}