# prov.trace.shares

prov.trace.shares in the Python SDK: 3 methods. The trace.shares methods.

## Methods

### [create](https://provenanceauth.com/docs/sdks/python/trace-shares/create.md)

```python
prov.trace.shares.create(trace_id: str, mask: Optional[str] = …, expires_in: Optional[int] = …) -> Any
```

Calls `POST /v1/trace/traces/{id}/share`.

### [revoke](https://provenanceauth.com/docs/sdks/python/trace-shares/revoke.md)

```python
prov.trace.shares.revoke(trace_id: str) -> Any
```

Calls `DELETE /v1/trace/traces/{id}/share`.

### [get](https://provenanceauth.com/docs/sdks/python/trace-shares/get.md)

```python
prov.trace.shares.get(id: str, token: str) -> Any
```

The public, keyless, masked render of a share: its id in the path, its token in the query.

Calls `GET /v1/trace/shares/{id}`.
