Create: JSON type

Description

Create a JSON resource (object or array).

Sample request

curl -X POST \
  https://<<META.tenant.domain>>/api/v1/global_resources \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>' \
  -d '{
        "name": "a json resource",
        "value": {"fizz":"buzz"},
        "team_id": 2,
        "folder_id": 1
    }'

For all parameters and response fields, see Create: text type.

Was this helpful?