# A person who manages the project approves the waiting draft

`POST /datasources/metrics/{name}/approve` · Rivier · hosting

A person who manages the project approves the waiting draft; it becomes the version every screen, report and assistant reads.

- Scope: hosting:write
- Graphql: Mutation.hostingMetricApprove
- Sdk: hosting.metric.approve
- Cli: hosting metric approve

## Parameters

- `name` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/datasources/metrics/{name}/approve' \
  -H 'Authorization: Bearer $KEY'
```
