# Update a sub-source of a lead source **PUT /api/v1/lead-sources/{lead_source_uuid}/sub-sources/{uuid}** ## Servers - https://api.plannrcrm.com: https://api.plannrcrm.com () ## Authentication methods - Personal access token & O auth2 ## Parameters ### Path parameters - **lead_source_uuid** (string) - **uuid** (string) ### Body: application/json (object) - **name** (string) Name of the sub-source. Must be unique within its lead source. - **description** (string | null) Optional description of the sub-source. - **position** (integer) New position within the lead source's list. Other sub-sources shift to keep positions contiguous. - **archived** (boolean) Archive or unarchive the sub-source. Archived sub-sources are hidden from the default list. ## Responses ### 200 #### Body: application/json (object) - **uuid** (string) - **name** (string) - **description** (string) - **position** (integer) - **archived** (boolean) - **created_at** (string) - **updated_at** (string) ### 422 Validation error #### Body: application/json (object) - **message** (string) A human-readable description of the error. - **errors** (object) Validation messages keyed by the field that failed. [Powered by Bump.sh](https://bump.sh)