# Make this the primary contact

`POST /lokta-lms/api/v1/sourcing-partners/{partnerId}/contacts/{contactId}/primary`

Makes a contact the primary one for a sourcing partner.

Promotes this contact and demotes the incumbent **in one transaction**. Exactly one primary is permitted, so two separate requests would either leave the partner with no point of contact or be refused, which is why this is a verb rather than a PATCH setting a flag. Already-primary is a `422 sourcing/use_primary_endpoint`.

## Parameters
- `partnerId` (path, string, required)
- `contactId` (path, string, required)
- `Idempotency-Key` (header, string)

## Responses
- `default`: default response

## Example request (cURL)
```bash
curl -X POST \
  'https://default.lokta.tech/lokta-lms/api/v1/sourcing-partners/{partnerId}/contacts/{contactId}/primary' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

Interactive: https://developer.lokta.ai/reference#operation/makePrimary_1
