Profiles
A profile represents one of your end customers or brands. Your API key belongs
to your organization and can act on every profile in it, so profile-scoped
endpoints name the profile they act on, with a profileId or with an
accountId that belongs to it. See Core concepts
for the model.
The endpoints here list and create profiles. Along with GET /api/v1/accounts
and GET /api/v1/usage/x, they can act on the whole organization and take no
profile.
Endpoints
GETList profiles
/api/v1/profilesEvery profile in your organization, the default profile first.POSTCreate profile/api/v1/profilesCreate a profile for one of your customers, idempotently if you pass a key.GETGet profile/api/v1/profiles/{profileId}One profile, as a bare object.PUTUpdate profile/api/v1/profiles/{profileId}Replace a profile's name, externalId, and metadata.DELETEDelete profile/api/v1/profiles/{profileId}Delete a profile and everything connected to it. Cannot be undone.