Users

Metadata

PATCH
Bulk patch metadata for users

Request

This endpoint expects a list of objects.
userEmail
stringRequired
metadata
anyRequired

Key-value object of metadata for user. Keys will be merged with any existing values but can also be set to null to effectively remove

PATCH
1curl -X PATCH https://api.credal.ai/api/v0/users/metadata \
2 -H "Authorization: Bearer <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '[
5 {
6 "userEmail": "ravin@credal.ai",
7 "metadata": {
8 "State": "NY",
9 "Job Role": "CEO"
10 }
11 },
12 {
13 "userEmail": "jack@credal.ai",
14 "metadata": {
15 "State": "NY",
16 "Department": "Engineering"
17 }
18 }
19]'