Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Greens-Organization/pz-packs/llms.txt

Use this file to discover all available pages before exploring further.

List Members

List all members of a modpack with their permissions. No authentication required for public modpacks, authentication required for private modpacks.

Path Parameters

id
string
required
Modpack UUID

Response

members
array
curl -X GET "https://api.pzpacks.com/modpacks/123e4567-e89b-12d3-a456-426614174000/members"
{
  "members": [
    {
      "id": "member-record-uuid-1",
      "userId": "user-uuid-1",
      "modpackId": "123e4567-e89b-12d3-a456-426614174000",
      "permission": ["read", "add-mod"],
      "isActive": true,
      "createdAt": "2024-01-15T10:30:00Z",
      "updatedAt": "2024-01-15T10:30:00Z"
    },
    {
      "id": "member-record-uuid-2",
      "userId": "user-uuid-2",
      "modpackId": "123e4567-e89b-12d3-a456-426614174000",
      "permission": ["read"],
      "isActive": true,
      "createdAt": "2024-01-16T14:20:00Z",
      "updatedAt": "2024-01-16T14:20:00Z"
    }
  ]
}

Add Member

Add a member to the modpack by email address with specified permissions. Only the modpack owner can add members.

Path Parameters

id
string
required
Modpack UUID

Body Parameters

email
string
required
Email address of the user to add (must be a valid email format)
permission
array
required
Array of permission strings (minimum 1 permission required). Common permissions:
  • read - View modpack
  • add-mod - Add mods to modpack
  • remove-mod - Remove mods from modpack
  • update - Update modpack settings

Response

id
string
Member record UUID
userId
string
User UUID
modpackId
string
Modpack UUID
permission
array
Array of granted permissions
isActive
boolean
Membership active status
curl -X POST "https://api.pzpacks.com/modpacks/123e4567-e89b-12d3-a456-426614174000/members" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com",
    "permission": ["read", "add-mod"]
  }'
{
  "id": "member-record-uuid-3",
  "userId": "user-uuid-3",
  "modpackId": "123e4567-e89b-12d3-a456-426614174000",
  "permission": ["read", "add-mod"],
  "isActive": true,
  "createdAt": "2024-01-17T09:30:00Z",
  "updatedAt": "2024-01-17T09:30:00Z"
}

Remove Member

Remove a member from the modpack by their email address. Only the modpack owner can remove members.

Path Parameters

id
string
required
Modpack UUID

Body Parameters

email
string
required
Email address of the member to remove (must be a valid email format)

Response

message
string
Success message
curl -X DELETE "https://api.pzpacks.com/modpacks/123e4567-e89b-12d3-a456-426614174000/members" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com"
  }'
{
  "message": "Member removed successfully"
}

Permission Types

When adding members to a modpack, you can grant the following permissions:
  • read - View the modpack and its mods
  • add-mod - Add mods to the modpack
  • remove-mod - Remove mods from the modpack
  • update - Update modpack settings (name, description, etc.)
  • manager-members - Add and remove other members
  • export - Generate and download server files
  • import - Import mods from Steam collections
The modpack owner automatically has all permissions and cannot be removed as a member.

Build docs developers (and LLMs) love