curl --request POST \
--url https://api-dev.narrative.io/installations/{installation_id}/profiles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My profile name",
"description": "My profile description",
"tags": [
"production",
"analytics"
]
}
'{
"id": "7bc22af4-fb6e-431e-92bc-e366e4f960ff",
"name": "My profile name",
"description": "My profile description",
"status": "disabled",
"app_id": "123e4567-e89b-12d3-a456-426614174000",
"app_name": "My App",
"tags": [
"production",
"analytics"
]
}The profile will be assigned a unique identifier upon creation. New profiles are “disabled” and should be activated after creation.
curl --request POST \
--url https://api-dev.narrative.io/installations/{installation_id}/profiles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My profile name",
"description": "My profile description",
"tags": [
"production",
"analytics"
]
}
'{
"id": "7bc22af4-fb6e-431e-92bc-e366e4f960ff",
"name": "My profile name",
"description": "My profile description",
"status": "disabled",
"app_id": "123e4567-e89b-12d3-a456-426614174000",
"app_name": "My App",
"tags": [
"production",
"analytics"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The installation ID