# Set flagged or un flagged value of the "self" flag for the staff document. **PATCH /api-v1/document/{id}/self/{flag}** ## Servers - https://wyzio.app: https://wyzio.app () ## Parameters #### Headers - **TARGET-ORGANIZATION-ID** (integer(int32)) ID of organization, for which the operation must be performed - **WEAL-TOKEN** (string) API token (can be retrieved from account settings) #### Path parameters - **flag** (boolean) flag - **id** (integer) id ## Responses ### 200: OK [Powered by Bump.sh](https://bump.sh)