Finalize a theme logo
This code snippet shows how to finalize a theme logo using the Meetings API.
See the API Reference for more information.
Where needed, replace the following variables in the sample code with your own values:
| Key | Description |
|---|---|
JWT | Used to authenticate your request. See Authentication for more information, including how to generate a JWT. |
VONAGE_APPLICATION_ID | The Vonage Application ID. |
VONAGE_APPLICATION_PRIVATE_KEY_PATH | Private key path. |
THEME_ID | The theme UUID. |
Write the code
Add the following to finalize-theme-logo.sh:
curl -X PUT "https://api-eu.vonage.com/meetings/themes/"$THEME_ID"/finalizeLogos"" \
-H "Authorization: Bearer $JWT" \
-H "Content-Type: application/json" \
-d '{
"keys": [
"logo-key1",
"logo-key2"
]
}'Run your code
Save this file to your machine and run it:
sh finalize-theme-logo.sh