Skip to main content
POST
/
installations
/
{installation_id}
/
profiles
/
{app_profile_id}
/
archive
Archives a profile
curl --request POST \
  --url https://api-dev.narrative.io/installations/{installation_id}/profiles/{app_profile_id}/archive \
  --header 'Authorization: Bearer <token>'
{
  "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"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_profile_id
string<uuid>
required

The profile ID

installation_id
string<uuid>
required

The installation ID

Response

200 - application/json

The updated app profile

id
string<uuid>
name
string
description
string
status
enum<string>
Available options:
enabled,
disabled,
archived
app_id
string

The unique identifier of the app

app_name
string

The name of the app

tags
string[]

List of tags associated with the profile