PUT
/
groups
/
{id}
curl --request PUT \
  --url https://api.pinata.cloud/groups/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "NFT-Project-updated"
}'
{
  "id": "61a4a882-1591-462e-bcb7-fa0eee5f3c51",
  "name": "NFT-Project-updated",
  "user_id": "ec50a085-a746-428d-b01d-167ac379fbd4",
  "createdAt": "2024-07-03T18:09:33.610Z",
  "updatedAt": "2024-07-03T18:12:46.930Z"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string

Response

200 - application/json
id
string

ID of the created Group

user_id
string

ID of the user who created the Group

name
string

Name of the Group

updatedAt
string

ISO 8601 format date of the last time Group was updated

createdAt
string

ISO 8601 format date of Group creation