Set a member's external id
## Organization Members - Update
Organization Members - Update
Set your own id for a member.
external_id is unique within the organization, up to 100 characters. Use it as
targets.member_external_ids in the location calls. null clears it.
Authentication
Two ways to call these endpoints, both scoped to one organization:
- Secret API key in the
X-Flash-Api-Keyheader (fw_sk_...). The organization needs the Organization Locations API product. The key always acts on its own organization. Publishable keys are refused. This is the mode for software partners integrating on an organization's behalf. - User token (
Authorization: Token ...) of an administrator of the organization.
Either way, only members of that organization can be read or changed. A user outside it is
reported as not_a_member, whether or not the account exists.
FLASH API key. Secret keys are prefixed fw_sk_live_ and must stay server-side; publishable keys are prefixed fw_pk_live_ and are safe in a public page. Obtain via POST /api-keys/.
In: header
Path Parameters
Flash user id of the member.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Rejects keys it does not declare, so a misspelt field fails instead of being ignored.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/organization/members/0/" \ -H "Content-Type: application/json" \ -d '{}'{ "user_id": 0, "email": "string", "name": "string", "is_active": true, "is_admin": true, "external_id": "string", "tags": [ "string" ], "location_count": 0}
