cURL
curl --request PUT \ --url https://{host}/api/v1/users/{id}/identity \ --header 'API-key: <api-key>' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id_type": "local", "identification": "<string>", "country_code": "<string>", "birthday": "2023-12-25", "document_id": "<string>" } '
{ "id": "<string>", "email": "<string>", "internal_id": "<string>", "name": "<string>", "phone": "<string>", "address": "<string>", "postal_code": "<string>", "city": "<string>", "main_work": "true", "nationality": "<string>", "note": "<string>", "bank_account_number": "<string>", "bank_iban_number": "<string>", "bank_bic_number": "<string>", "tax_percent": "<string>", "tax_type": "<string>", "tax_start": "<string>", "tax_table": "<string>", "tax_free_card": "<string>", "onboarding": "<string>", "created_at": "<string>" }
Sanctum personal access token (access_tokens / partner API settings).
access_tokens
UUID API key stored for the partner user.
local
international
255
2
true
false