Get target
GET
/accounts/{account_id}/infrastructure/targets/{target_id} https://api.cloudflare.com/client/v4
Parameters
path Path Parameters
| Name | Type |
|---|---|
account_id
required
| type InfraAccountTag = string |
target_id
required
| type InfraTargetId = string |
Responses
200 application/json
Successfully retrieved the target
type InfraApiResponseSingle = interface InfraApiResponseCommon {
errors:InfraMessages ;
messages:InfraMessages ;
success: true;
} & {} & { result?:InfraTarget ; }
errors:
messages:
success: true;
} & {} & { result?:
Client Errors
4XX application/json
Failed to retrieve the target
interface InfraApiResponseCommonFailure {
errors:InfraMessages ;
messages:InfraMessages ;
result: null;
success: false;
}
errors:
messages:
result: null;
success: false;
}