List CP codes

Obtains the CP code based on the type. You need a CP code to create a stream.

Query Params
boolean

When enabled, lists only CP codes that have not already been used to provision an origin.

string
enum
required

Enum Specify the type of CP code. Specify INGEST to obtain the INGEST CP codes, DELIVERY for the delivery CP codes, and STORAGE for the storage CP codes.

Allowed:
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json