Members

Creates an API key.

Creates an API key. Team admin permissions are required.

put/api/v1/members

Request

  • Base URL: https://uniform.app
  • URL: https://uniform.app/api/v1/members
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

isAdminboolean

If true, the API key will be a team admin and all other roles and permissions are irrelevant

teamIdstring required
namestring required

The name of the API key

ownerSubjectstring

If provided, creates a Personal Access Token (PAT) owned by this identity. Must be the callers own subject.

expiresAtstring date-time

ISO 8601 datetime when the token should expire. If not set, the token has no expiration.

Example request

{
  "expiresAt": "2026-12-31T23:59:59Z"
}

Response

API key created

apiKeystring required

Changes

No recorded changes to this operation across all 1 revision of this API.