Account

View OAuth Client Thumbnail

get
https://api.linode.com/v4/account/oauth-clients/{clientId}/thumbnail

Returns the thumbnail for this OAuth Client. This is a publicly-viewable endpoint, and can be accessed without authentication.

Path Parameters

clientId
Required
string

The OAuth Client ID to look up.

Request Samples

curl -H "Authorization: Bearer $TOKEN" \
    https://api.linode.com/v4/account/oauth-clients/edc6790ea9db4d224c5c/thumbnail > thumbnail.png

Response Samples

{}

Responses

200: The client's thumbnail.

default: Error

errors
array of objects
reason
string

What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.

field
string

The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.

Update OAuth Client Thumbnail

put
https://api.linode.com/v4/account/oauth-clients/{clientId}/thumbnail

Upload a thumbnail for a client you own. You must upload an image file that will be returned when the thumbnail is retrieved. This image will be publicly-viewable.

Authorizations

Personal Access Token
OAuth: ( account:read_write)

Path Parameters

clientId
Required
string

The OAuth Client ID to look up.

Request Body Schema

Request Samples

curl -H "Content-Type: image/png" \
    -H "Authorization: Bearer $TOKEN" \
    -X PUT \
    --data-binary "/path/to/image"
    https://api.linode.com/v4/account/oauth-clients/edc6790ea9db4d224c5c/thumbnail

Response Samples

{}

Responses

200: Thumbnail updated successfully.

default: Error

errors
array of objects
reason
string

What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.

field
string

The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.