LDS Stake Portal
Callings

Assign Calling Slot

PUT
/callings/{calling_id}/{slot_id}

Endpoint to assign a specific slot to a calling. Expects a JSON body with the user ID to assign to the slot. Cannot assign a slot that is already filled.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

calling_id*Calling Id
slot_id*Slot Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/callings/0/0" \  -H "Content-Type: application/json" \  -d '{    "user_id": 0  }'
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}