For AI agents: this page in Markdown: https://www.pubnub.com/docs/admin-api/update-an-app.md. Documentation index: https://www.pubnub.com/llms-full.txt.

Update an app

PATCH 

/v2/apps/:id

Updates an app's name. Only the name field can be modified.

Request​

Example
{
  "id": "string",
  "name": "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"
  ]
}