Get Advertisement Status
Deprecated GET
/accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/status https://api.cloudflare.com/client/v4
View the current advertisement state for a prefix.
Deprecated: Prefer the BGP Prefixes endpoints, which additionally allow for advertising and withdrawing subnets of an IP prefix.
Parameters
path Path Parameters
| Name | Type |
|---|---|
prefix_id
required
| type AddressingPrefixIdentifier = string |
account_id
required
| type AddressingAccountIdentifier = string |
Responses
200 application/json
Get Advertisement Status response
type AddressingAdvertisedResponse = type AddressingApiResponseSingle = interface AddressingApiResponseCommon {
errors:AddressingMessages ;
messages:AddressingMessages ;
success: true;
} & {} & { result?: { advertised?:AddressingSchemasAdvertised ;advertised_modified_at?: AddressingModifiedAtNullable ; }; }
errors:
messages:
success: true;
} & {} & { result?: { advertised?:
Client Errors
4XX application/json
Get Advertisement Status response failure
type AddressingAdvertisedResponse = type AddressingApiResponseSingle = interface AddressingApiResponseCommon {
errors:AddressingMessages ;
messages:AddressingMessages ;
success: true;
} & {} & { result?: { advertised?:AddressingSchemasAdvertised ;advertised_modified_at?: AddressingModifiedAtNullable ; }; } & interface AddressingApiResponseCommonFailure {
errors:AddressingMessages ;
messages:AddressingMessages ;
result: null;
success: false;
}
errors:
messages:
success: true;
} & {} & { result?: { advertised?:
errors:
messages:
result: null;
success: false;
}