# Set Target **GET /sequence/set-target** Set the target of any one of the active target containers in the sequence ## Servers - V2 api server: http://localhost:1888/v2/api (V2 api server) ## Parameters ### Query parameters - **name** (string) The target name - **ra** (number(double)) The RA coordinate in degrees - **dec** (number(double)) The DEC coordinate in degrees - **rotation** (number(double)) The target rotation - **index** (integer) The index of the target container to update ## Responses ### 200 Successful response #### Body: application/json (object) - **Response** (string) - **Error** (string) - **StatusCode** (integer) - **Success** (boolean) - **Type** (string) ### 400 Invalid target index #### Body: application/json (object) - **Response** (string) - **Error** (string) - **StatusCode** (integer) - **Success** (boolean) - **Type** (string) ### 409 Sequencer not initialized #### Body: application/json (object) - **Response** (string) - **Error** (string) - **StatusCode** (integer) - **Success** (boolean) - **Type** (string) ### 500 Internal Server Error, Unknown Error #### Body: application/json (object) - **Response** (string) - **Error** (string) - **StatusCode** (integer) - **Success** (boolean) - **Type** (string) [Powered by Bump.sh](https://bump.sh)