Update customer

Updates an existing OEM customer's display name.

Path Parameters
customerId string REQUIRED

The unique identifier of the customer to update

The unique identifier of the customer to update

Header Parameters
PubNub-Version string REQUIRED

Possible values: [2026-02-09]

Request Body REQUIRED
name maxLength(255)

Possible values: length ≤ 255

The updated display name for the customer (max 255 characters)

Responses
200

Success

Schema OPTIONAL
result object
id string
externalId string
name string
created string

a string to be decoded into a Date

updated string

a string to be decoded into a Date

keysets object[]
id number
assignedAt string

a string to be decoded into a Date

400

Bad Request Error

Schema OPTIONAL
statusCode number
error string

Possible values: [BadRequest]

message string[]
401

UnauthorizedError

Schema OPTIONAL
statusCode number
error string

Possible values: [Unauthorized]

message string[]
403

ForbiddenError

Schema OPTIONAL
statusCode number
error string

Possible values: [Forbidden]

message string[]
404

NotFoundError

Schema OPTIONAL
statusCode number
error string

Possible values: [NotFound]

message string[]
500

InternalErrorError

Schema OPTIONAL
statusCode number
error string

Possible values: [InternalError]

message string[]
* required
PubNub-Version*
Type: string
Possible values: [2026-02-09]
* required
customerId*
Type: string
The unique identifier of the customer to update
name
Type: string
The updated display name for the customer (max 255 characters)
≤ 255 chars
result
Type: object
statusCode
Type: number
error
Type: string
Enum (1 values)
View all values
"BadRequest"
message
Type: array
Array items:
items
Type: string
statusCode
Type: number
error
Type: string
Enum (1 values)
View all values
"Unauthorized"
message
Type: array
Array items:
items
Type: string
statusCode
Type: number
error
Type: string
Enum (1 values)
View all values
"Forbidden"
message
Type: array
Array items:
items
Type: string
statusCode
Type: number
error
Type: string
Enum (1 values)
View all values
"NotFound"
message
Type: array
Array items:
items
Type: string
statusCode
Type: number
error
Type: string
Enum (1 values)
View all values
"InternalError"
message
Type: array
Array items:
items
Type: string