---
title: "POST /api/proxy-gateways/{id}/credentials"
method: POST
path: "/api/proxy-gateways/{id}/credentials"
tags: ["ProxyGateways"]
---

# POST /api/proxy-gateways/{id}/credentials

`POST /api/proxy-gateways/{id}/credentials`

## Request

- Base URL: `https://api-admin.hackgate.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api-admin.hackgate.io/api/proxy-gateways/{id}/credentials`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- IssueCredentialRequest
  - `label` string, nullable
  - `expiresAt` string, date-time, nullable
  - `username` string, nullable

## Response `200`

OK

## Changes

- **2026-10-11** `f388de5f56de`: 3 info
  - added the new optional request property `username` (media type: application/json)
  - added the new optional request property `username` (media type: text/json)
  - added the new optional request property `username` (media type: application/*+json)
- **2026-10-09** `be791218e7cd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hackgate/apis/hackgate-admin-api/changes/api/proxy-gateways/:id/credentials/post.md)

---

[API](https://skmtc.dev/hackgate/apis/hackgate-admin-api.md) - [All operations](https://skmtc.dev/hackgate/apis/hackgate-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hackgate/apis/hackgate-admin-api/revisions/4001be3c2ed0?raw)
