Skip to Content
kosemdocs
ReferenceAPIEnvironments

Decline registry request

Declines a request. The project can ask again.

POST
/v1/organizations/{organization}/registry-requests/{request}/decline

Declines a request. The project can ask again.

Authorization

bearer
headerAuthorizationBearer <token>

An access token, or an API key.

Path Parameters

organization*string

The organization's ID.

Match^org_[0-7][0-9a-hjkmnp-tv-z]{25}$
request*string

The request's ID.

Match^rrq_[0-7][0-9a-hjkmnp-tv-z]{25}$

Response Body

OK

application/json
  1. response
address*string

What it asked for, as a registry's prefix would name it, such as ghcr.io/acme/devbox.

createTime*string

When it was asked.

Formatdate-time
decideTime?string

When it was decided.

Formatdate-time
name*string

Resource name, organizations/{organization_id}/registry-requests/{request_id}.

project*string

The project that asked, projects/{project_id}.

registry?string

The registry shared with the project, once approved.

requester*string

Who asked, as a member such as user:usr_….

state*string

PENDING until an Owner decides.

Value in"PENDING""APPROVED""DECLINED"
Example Request
curl -X POST 'https://api.kosem.ai/v1/organizations/string/registry-requests/string/decline'
Example Response
{
  "address": "string",
  "createTime": "2019-08-24T14:15:22Z",
  "decideTime": "2019-08-24T14:15:22Z",
  "name": "string",
  "project": "string",
  "registry": "string",
  "requester": "string",
  "state": "PENDING"
}