# Decline registry request

`POST /v1/organizations/{organization}/registry-requests/{request}/decline`, operation `environments.DeclineRegistryRequest`

Declines a request. The project can ask again.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `organization` | path | Yes | `string` | The organization's ID. |
| `request` | path | Yes | `string` | The request's ID. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `address` | `string` | Yes | What it asked for, as a registry's prefix would name it, such as ghcr.io/acme/devbox. |
| `createTime` | `string (date-time)` | Yes | When it was asked. |
| `decideTime` | `string (date-time)` | No | When it was decided. |
| `name` | `string` | Yes | Resource name, organizations/{organization_id}/registry-requests/{request_id}. |
| `project` | `string` | Yes | The project that asked, projects/{project_id}. |
| `registry` | `string` | No | The registry shared with the project, once approved. |
| `requester` | `string` | Yes | Who asked, as a member such as user:usr_…. |
| `state` | `string` | Yes | PENDING until an Owner decides. Values: `PENDING`, `APPROVED`, `DECLINED`. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.