customer_analytics
accounts

post/api/projects/{project_id}/accounts/{account_id}/relationships/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/accounts/{account_id}/relationships/
  • Auth: HTTP bearer

Path parameters

account_idstring uuid required

UUID of the parent account.

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

definitionstring uuid required

Id of the relationship definition to assign.

userinteger required

PostHog user id of the assignee. Must be a member of the account's organization.

Response

idstring uuid required

Unique id of this assignment row.

started_atstring date-time required

When this assignment became effective.

ended_atstring date-time nullable required

When this assignment ended; null while it is active.

Changes

No recorded changes to this operation across all 1 revision of this API.