service-accounts

Get service account

Changed on

Retrieve a single service account and its access token metadata. Token secrets are never returned.

get/api/organizations/{name}/service-accounts/{serviceAccountId}

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/organizations/{name}/service-accounts/{serviceAccountId}
  • Auth: HTTP bearer

Path parameters

namestring required
serviceAccountIdstring required

Response

Service account

_idstring required

A hex string of 24 characters representing an ObjectId.

userstring required
namestring required
emailstring required
descriptionstring
createdAtstring date-time required

Changes

    • info

      added the optional property // to the response with the status

    • warning

      added the new repo.contribute.write enum value to the /// response property for the response status