Create or add new macros for the specified project
POSThttps://api.spectrocloud.com/v1/projects/:uid/macros
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
Create or add new macros for the specified project
Request
Path Parameters
uid stringrequired
- application/json
Body
macros undefined[]
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X POST 'https://api.spectrocloud.com/v1/projects/:uid/macros' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"macros": [
{
"name": "string",
"value": "string"
}
]
}'