---
title: Ownership
---

[Skip to content](#_top)

[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#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)>) {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#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_validation%20%3E%20(schema)>) {valid } | null

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

##### ModelsExpand Collapse

<details>

<summary>

OwnershipValidation {valid }

</summary>

valid?: boolean

<a href="#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_validation%20%3E%20(schema)%20%3E%20(property)%20valid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_validation%20%3E%20(schema)>)

<details>

<summary>

OwnershipCreateResponse {filename, message, valid }

</summary>

filename?: string

<a href="#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)%20%3E%20(property)%20filename">Link to this property</a>

message?: string

<a href="#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

valid?: boolean

<a href="#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)%20%3E%20(property)%20valid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)>)