# Modifier un poste d'entreprise **PATCH /company/{company}/position/{uid}** Met à jour un poste (position) existant dans une entreprise. **Modifications possibles:** - Changer le type de poste - Modifier les droits spécifiques - Activer/désactiver le poste **États du poste:** - `active` : Poste actif, l'utilisateur a accès à l'entreprise - `inactive` : Poste désactivé, accès révoqué **Événement déclenché:** UPDATE_POSITION ## Servers - Version 2 of the API: https://wuro.pro/api/v3.2 (Version 2 of the API) ## Authentication methods - App id auth & App secret auth ## Parameters ### Path parameters - **company** (string) Identifiant unique de l'entreprise - **uid** (string) Identifiant unique du poste ### Body: application/json (object) - **type** (string) Type de poste (ID du Type de droits) - **rights** (array[object]) Liste des droits spécifiques - **state** (string) État du poste ## Responses ### 200 Poste modifié avec succès #### Body: application/json (object) - **_id** (string) Unique identifier for the position - **company** (string) ID of the company - **user** (string) ID of the user - **userEmail** (string(email)) Email of the user - **first_name** (string) First name - **last_name** (string) Last name - **avatar** (string) URL to avatar - **state** (string) State of the position - **type** (string) Type of the position - **rights** (array[object]) List of rights - **teams** (array[object]) List of teams - **entry_date** (string(date-time)) Date of entry - **release_date** (string(date-time)) Date of release - **createdAt** (string(date-time)) Date when position was created - **updatedAt** (string(date-time)) Date when position was last updated ### 400 Requête invalide - Données incorrectes ### 403 Non autorisé - Droits insuffisants pour modifier ce poste ### 404 Poste non trouvé [Powered by Bump.sh](https://bump.sh)