Assign Linkedin Account To Team
POST /teams/{team_id}/linkedin-accounts
Attach a LinkedIn sending account to a team.
Two spellings, both accepted because the app accepts both: the current
provider + account_ref pair from
GET /teams/available/linkedin-accounts, or the legacy
linkedin_account_id. Send the pair for new integrations - the legacy id
is ambiguous across providers.
Authorizations
Parameters
Path Parameters
Team id (UUID).
Team id (UUID).
Header Parameters
Request Body required
Attach a LinkedIn sending account. Mirrors teams.AssignLinkedInAccountDTO.
All three fields are optional because two spellings are supported: the
current provider + account_ref pair, and the legacy
linkedin_account_id. The handler validates that one of them is usable.
Responses
200
Successful Response
object
An open envelope for a single role, team, member or account record.
Open on purpose. The app’s own response models on this surface grow with
the product - RoleResponse gained rep_limits and manages_role_slugs,
TeamResponse gained channel counts and a campaign count - and a pinned
mirror would SILENTLY DROP whatever it had not caught up on. A dropped
permission in a role read is the worst possible kind of stale: it reads as
“they do not have it”.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error