v1.0 (preview)

Managing Users

This guide covers how to create, update, and delete users in Julep.

Creating a User

To create a new user:

curl -X POST "https://dev.julep.ai/api/users" \
     -H "Authorization: Bearer $JULEP_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{
           "name": "John Doe",
           "about": "A new user"
         }'

Updating a User

To update an existing user:

curl -X PUT "https://dev.julep.ai/api/users/YOUR_USER_ID" \
     -H "Authorization: Bearer $JULEP_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{
           "name": "John Updated",
           "about": "An updated user description"
         }'

Deleting a User

To delete a user:

curl -X DELETE "https://dev.julep.ai/api/users/YOUR_USER_ID" \
     -H "Authorization: Bearer $JULEP_API_KEY"

Retrieving User Information

To get information about a specific user:

curl -X GET "https://dev.julep.ai/api/users/YOUR_USER_ID" \
     -H "Authorization: Bearer $JULEP_API_KEY"

Next Steps

Last updated