# Caclient

API calls related to Conditional Access. ADMIN privilege is necessary for all of these functions.

### caclient/builders

Lists the text strings, options and defaults used when configuring Conditional Access devices within TVH (ie Configuration -> CAs -> Add).

### caclient/class

Lists the text strings, options and defaults used when configuring Conditional Access within TVH (ie Configuration -> CAs).

### caclient/create

Create a new CA instance.

* `class` Name of the class to create, ie one of the classes listed by [caclient/builders](#caclient-builders).
* `conf` A JSON object describing the new device.

### caclient/list

List CA clients.

```
{
   "entries" : [
      {
         "title" : "Linux DVB CAM (CI/CI+)",
         "status" : "caclientNone",
         "uuid" : "7f435a73b190419cc6e69e3956c50549"
      }
   ]
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tvheadend.org/documentation/development/json-api/api-description/caclient.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
