v5

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-167122208.0 KB
master_tokens

show

Show a master token.

Example request:

curl https://packagecloud.io/api/v1/repos/username/reponame/master_tokens/1
get/api/v1/repos/{user_id}/{repo}/master_tokens/{id}

Path parameters

user_idstring required

The username to which the repo belongs.

repostring required

The name of the repo.

idinteger required

The id or value of the MasterToken.

Response

Array The name and value of the master token and API path for associated Read Tokens

valuestring
namestring
read_tokens_urlstring