service-accounts
Create service-account token
Changed onCreate a new access token for a service account. Store the token securely - it cannot be retrieved later.
post/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens
- Auth: HTTP bearer
Path parameters
namestring required
serviceAccountIdstring required
Request body
Response
Created token
Changes
- info
added the new
repo.contribute.writeenum value to the request property/
- info
- breaking
the
/request property type changed from no type tostring - breaking
the
/request property type changed from no type tostring
- breaking