# Targets

APIs to create and manage Feature Flag Targets

## Returns all Targets

 - [GET /cf/admin/targets](https://apidocs.harness.io/targets/getalltargets.md): Returns all the Targets for the given Account ID

## Creates a Target

 - [POST /cf/admin/targets](https://apidocs.harness.io/targets/createtarget.md): Create Targets for the given identifier

## Add Target details

 - [POST /cf/admin/targets/upload](https://apidocs.harness.io/targets/uploadtargets.md): Add targets by uploading a CSV file

## Deletes a Target

 - [DELETE /cf/admin/targets/{identifier}](https://apidocs.harness.io/targets/deletetarget.md): Deletes a Target for the given identifier

## Returns details of a Target

 - [GET /cf/admin/targets/{identifier}](https://apidocs.harness.io/targets/gettarget.md): Returns details of a Target for the given identifier

## Updates a Target

 - [PATCH /cf/admin/targets/{identifier}](https://apidocs.harness.io/targets/patchtarget.md): Updates a Target for the given identifier

## Modifies a Target

 - [PUT /cf/admin/targets/{identifier}](https://apidocs.harness.io/targets/modifytarget.md): Modifies a Target for the given account identifier

## Returns Target Groups for the given Target

 - [GET /cf/admin/targets/{identifier}/segments](https://apidocs.harness.io/targets/gettargetsegments.md): Returns the Target Groups that the specified Target belongs to.

