Skip to main content
PATCH
Patch Admin App

Authorizations

Authorization
string
header
required

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

Path Parameters

slug
string
required

1-63 lowercase letters, digits or hyphens, not starting or ending with a hyphen, so it works as a URL path segment and as a subdomain. Permanent.

Pattern: ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$
Example:

"my-connector"

Body

application/json

The changes to make to an app. A field left out is left as it is. status may be active, to activate a pending app, or the status the app already has, which changes nothing; any other is a conflict.

status
enum<string>
  • pending: in development. Visible to and installable by the owning company and the companies its collaborators name.
  • active: approved by Narrative. Visible to and installable by the owning company and the companies its collaborators admit, which may be every company.
  • archived: visible to nobody.
Available options:
pending,
active,
archived
privileges
AppPrivileges · object

The privileges to grant the app, replacing what it has. Every sandbox token must be one Narrative knows, and sandbox must be sent, empty to remove them all. See AppPrivileges for its fields.

Example:

Response

PatchAdminApp 200 response

Narrative's view of an app: the owner's view, with the company that owns it.

id
integer<int64>
required

The app's id. Installations refer to the app by it.

Required range: x >= 1
Example:

42

slug
string
required

1-63 lowercase letters, digits or hyphens, not starting or ending with a hyphen, so it works as a URL path segment and as a subdomain. Permanent.

Pattern: ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$
Example:

"my-connector"

owner_company_id
integer<int64>
required

Company id. Must not be negative.

Required range: x >= 0
status
enum<string>
required
  • pending: in development. Visible to and installable by the owning company and the companies its collaborators name.
  • active: approved by Narrative. Visible to and installable by the owning company and the companies its collaborators admit, which may be every company.
  • archived: visible to nobody.
Available options:
pending,
active,
archived
manifest
AppManifestV2 · object
required

The app's manifest. See AppManifestV2 for its fields.

client_id
string
required

The app's OAuth client id, hex-encoded: the form POST /oauth/token accepts.

Pattern: ^[0-9a-f]+$
Example:

"85b558340b635861575c462a10df3bd5"

collaborators
object
required

The companies, besides the owner, that may see (view) and install (install) the app while it is pending or active. See AppCollaborators for its fields.

Example:
privileges
AppPrivileges · object
required

What Narrative grants the app beyond its own manifest. Only Narrative sets it; no route lets the app's owner change it. See AppPrivileges for its fields.

Example:
created_at
string<date-time>
required
Example:

"2026-11-23T00:00:00Z"

updated_at
string<date-time>
required
Example:

"2026-11-23T00:00:00Z"