admin
Patch an API Key
Patch an API Key. Accessible by GO only.
patch/v0/api_keys/{id}
Request
- Base URL: https://api.clubmed.com
- URL: https://api.clubmed.com/v0/api_keys/{id}
- Auth: OpenID Connect (https://auth.clubmed.com/.well-known/openid-configuration, scopes: openid, email, profile, clubmed)
Path parameters
idstring required
Api_key provided by ClubMed API team
Example:878545411597.test.clubmed.com
Headers
authorizationstring required
Optional Access Token (bearer)
Example:Bearer aaaa.vbbbB.bbbb
Access Token (bearer)
x-api-keystring required
Api_key provided by ClubMed API team
Request body
Example request
{
"id": "878545411597.test.clubmed.com",
"profile": "b2c",
"contacts": [
"john.smith@gmail.com"
],
"locales": [
"en-US"
],
"clic_channel_code": "TDB",
"channel_code": "NET",
"quable_channel_code": "B2B"
}Response
ok
Example response
{
"id": "878545411597.test.clubmed.com",
"profile": "b2c",
"contacts": [
"john.smith@gmail.com"
],
"locales": [
"en-US"
],
"clic_channel_code": "TDB",
"channel_code": "NET",
"quable_channel_code": "B2B"
}