PUT /api/contacts/{id}) endpoint.
Provide the complete updated array of tagsId in the request body. Ensure you include both existing tags and the new tag you wish to add, as this operation replaces the entire array.
Example Payload:
PUT /api/contacts/{id}) endpoint.
Provide the complete updated array of tagsId in the request body. Ensure you include both existing tags and the new tag you wish to add, as this operation replaces the entire array.
Example Payload: