Assign keysets to customer
POST/v2/oem/customers/:customerId/keysets
Assigns one or more keysets to an existing OEM customer. This establishes the relationship between your customer and specific PubNub resources they can access.
Request
Example
{
"result": {
"id": "string",
"externalId": "string",
"name": "string",
"created": "string",
"updated": "string",
"keysets": [
{
"id": 0,
"assignedAt": "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"
]
}