Developers

Operations related to developers in the Developer Portal

Copy developers

Copy developers from a v2 portal to a v3 portal.

post
http://kauth-portal-v2.kauth.svc.cluster.local:8080/v1/portals/developer-copy

Body

application/json

Copy Developers Request

Request schema for copying developers from a v2 portal to a v3 portal.

source_portal_idstring(uuid)required

The UUID of the source v2 portal.

Example:847a6076-a8cd-41c3-a325-8711e1307a5c

target_portal_idstring(uuid)required

The UUID of the target v3 portal.

Example:6afc2b95-b6dd-4ff3-8a8f-36865b3979f4

overwrite_developersbooleanrequired

If true, existing developers in the destination portal with the same email will be updated to match the source portal developer data. If false, existing developers with the same email will not be modified.

Example:true

Response

application/json

Developers copy is successful

Copy Developers Response

Response schema after copying developers.

developer_countinteger

The number of developers processed (inserted or updated) during the copy operation.

Example:42

post/portals/developer-copy

Body

{ "source_portal_id": "847a6076-a8cd-41c3-a325-8711e1307a5c", "target_portal_id": "6afc2b95-b6dd-4ff3-8a8f-36865b3979f4", "overwrite_developers": true }
 
application/json

Copy Developers Request

object

Request schema for copying developers from a v2 portal to a v3 portal.

source_portal_idstring(uuid)required

The UUID of the source v2 portal.

Example:847a6076-a8cd-41c3-a325-8711e1307a5c

target_portal_idstring(uuid)required

The UUID of the target v3 portal.

Example:6afc2b95-b6dd-4ff3-8a8f-36865b3979f4

overwrite_developersbooleanrequired

If true, existing developers in the destination portal with the same email will be updated to match the source portal developer data. If false, existing developers with the same email will not be modified.

Example:true

Example

Copy Developers Response

object

Response schema after copying developers.

developer_countinteger

The number of developers processed (inserted or updated) during the copy operation.

Example:42

Example

Error

object

standard error

statusintegerrequiredread-only

The HTTP status code of the error. Useful when passing the response
body to child properties in a frontend UI. Must be returned as an integer.

titlestringrequiredread-only

A short, human-readable summary of the problem. It should not
change between occurrences of a problem, except for localization.
Should be provided as “Sentence case” for direct use in the UI.

typestringread-only

The error type.

instancestringrequiredread-only

Used to return the correlation ID back to the user, in the format
kong:trace:<correlation_id>. This helps us find the relevant logs
when a customer reports an issue.

detailstringrequiredread-only

A human readable explanation specific to this occurrence of the problem.
This field may contain request/entity data to help the user understand
what went wrong. Enclose variable values in square brackets. Should be
provided as “Sentence case” for direct use in the UI.

Example