Skip to main content
PUT
/
attributes
/
{id}
Update Attribute
curl --request PUT \
  --url https://forgegames.org/api/attributes/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "min": 123,
  "max": 123,
  "teamId": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "min": 123,
  "max": 123,
  "teamId": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Body

application/json
name
string
Maximum length: 191
min
number
max
number
teamId
string
Maximum length: 191

Response

Successful response

id
string
required
Maximum length: 191
name
string
required
Maximum length: 191
min
number
required
max
number
required
teamId
string
required
Maximum length: 191
I