cURL
curl --request POST \ --url https://api.hierarch.io/v1/personnel/edit/{company_slug}/{personnel_id}/ \ --header 'Content-Type: application/json' \ --header 'token: <api-key>' \ --data '{ "id": 123, "role_name": "<string>", "profile_photo": "<string>", "status": "<string>", "first_name": "<string>", "last_name": "<string>", "email": "<string>", "phone": "<string>", "country": "<string>", "home_address": "<string>", "facebook": "<string>", "instagram": "<string>", "twitter": "<string>", "linkedin": "<string>", "skype": "<string>", "whatsapp": "<string>", "msteams": "<string>", "slack": "<string>", "discord": "<string>", "last_update": "<string>", "datetime": "<string>" }'
{ "result": "<string>" }
Edit personnel record
API token provided to your company
This is your company url
Personnel ID
Personnel details
The body is of type object.
object
OK Response
The response is of type object.
Was this page helpful?