Portal Developers

Update Developer

Changed on

Updates the status of a particular developer. Approved developers have access to login to the portal. Revoked, rejected, or pending are not allowed to login. Even if a developer's status is no longer approved, they will still be able to using any existing credentials generated while they were approved, until each application registration is revoked or deleted.

patch/v3/portals/{portalId}/developers/{developerId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

portalId, string uuid required
Example:f32d905a-ed33-46a3-a093-d8f536af9a8a

The Portal identifier

developerId, string uuid required
Example:d32d905a-ed33-46a3-a093-d8f536af9a8a

ID of the developer.

Request body

UpdateDeveloperRequest required
status, 'approved' | 'pending' | 'revoked' | 'rejected'

The status of a developer in a portal. Approved developers can log in, create applications, and view and register for products they have access to. Pending, revoked, and rejected developers cannot login or view any non-public portal information, or create or modify applications or registrations.

Example request

{
  "status": "approved"
}

Response

Details about the developer being updated.

PortalDeveloper required
id, string uuid required

Contains a unique identifier used for this resource.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

email, string email required
full_name, string required
status, 'approved' | 'pending' | 'revoked' | 'rejected' required

The status of a developer in a portal. Approved developers can log in, create applications, and view and register for products they have access to. Pending, revoked, and rejected developers cannot login or view any non-public portal information, or create or modify applications or registrations.

additional_data, FormResponseData nullable

The developer's answers to the portal's developer_registration form, captured when they registered.

Example response

{
  "id": "7cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
  "email": "developer@example.com",
  "full_name": "Jane Dev",
  "status": "approved",
  "created_at": "2022-11-15T20:37:41.457Z",
  "updated_at": "2022-11-15T20:37:47.456Z"
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status