# Remove a declared field; the key is free again

`DELETE /metadata-fields/{object}/{key}` · Rivier · keys

Remove a declared field; the key is free again.

- Scope: keys:admin
- Graphql: Mutation.keysMetadataFieldRemove
- Sdk: keys.metadataField.remove
- Cli: keys metadata field remove

## Parameters

- `object` (path, required), string
- `key` (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 DELETE 'https://api.rivier.ai/metadata-fields/{object}/{key}' \
  -H 'Authorization: Bearer $KEY'
```
