Skip to content
GAMPEONCreate
New project

Show a connected account on your profile

PATCH
/v1/me/identities/{provider}
curl --request PATCH \
--url https://api.gampeon.com/v1/me/identities/steam \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "showOnProfile": true }'

Not available with access tokens.

provider
required

Sign-in provider

string
Allowed values: steam discord

Sign-in provider: steam or discord

Media typeapplication/json
object
showOnProfile
required
boolean

Example generated

{
"showOnProfile": true
}

Updated

Media typeapplication/json
object
provider
required

Sign-in provider

string
Allowed values: steam discord
name
required
One of:

Name at the provider. Steam names need a Steam Web API key on the server; without it null.

string
url
required

Profile page at the provider

string format: uri
showOnProfile
required

Shown on your public profile. Never for accounts under 16.

boolean
createdAt
required

Unix time in milliseconds

integer format: int64
lastLoginAt
required
One of:

Unix time in milliseconds

integer format: int64

Example

{
"provider": "steam"
}

Error codes: invalid_field

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Error codes: unauthorized

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Error codes: token_not_allowed, age_restricted

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Error codes: not_found

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Report a problem with this pageOther ways to give feedback