---
title: Ownership
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/typescript)

[Logpush](https://developers.cloudflare.com/api/typescript/resources/logpush)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Ownership

##### [Get ownership challenge](https://developers.cloudflare.com/api/typescript/resources/logpush/subresources/ownership/methods/create)

client.logpush.ownership.create(OwnershipCreateParams { destination\_conf, account\_id, zone\_id } params, RequestOptionsoptions?): [OwnershipCreateResponse](https://developers.cloudflare.com/api/typescript/resources/logpush#%28resource%29%20logpush.ownership%20%3E%20%28model%29%20ownership%5Fcreate%5Fresponse%20%3E%20%28schema%29) { filename, message, valid } | null

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/ownership

##### [Validate ownership challenge](https://developers.cloudflare.com/api/typescript/resources/logpush/subresources/ownership/methods/validate)

client.logpush.ownership.validate(OwnershipValidateParams { destination\_conf, ownership\_challenge, account\_id, zone\_id } params, RequestOptionsoptions?): [OwnershipValidation](https://developers.cloudflare.com/api/typescript/resources/logpush#%28resource%29%20logpush.ownership%20%3E%20%28model%29%20ownership%5Fvalidation%20%3E%20%28schema%29) { valid } | null

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/ownership/validate

##### ModelsExpand Collapse 

OwnershipValidation { valid } 

valid?: boolean

OwnershipCreateResponse { filename, message, valid } 

filename?: string

message?: string

valid?: boolean