{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Modifies the roles that can be assumed and for how long","properties":{"path":{"type":"object","properties":{"ref":{"minLength":20,"maxLength":20,"pattern":"^[a-z]+$","type":"string","examples":["abcdefghijklmnopqrst"],"description":"Project ref"}},"required":["ref"],"additionalProperties":false},"body":{"$ref":"#/definitions/UpdateJitAccessBody"}},"required":["path","body"],"additionalProperties":false,"definitions":{"UpdateJitAccessBody":{"type":"object","properties":{"user_id":{"type":"string","minLength":1,"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"roles":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","minLength":1},"expires_at":{"type":"number"},"allowed_networks":{"type":"object","properties":{"allowed_cidrs":{"type":"array","items":{"type":"object","properties":{"cidr":{"type":"string","pattern":"^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$"}},"required":["cidr"]}},"allowed_cidrs_v6":{"type":"array","items":{"type":"object","properties":{"cidr":{"type":"string","pattern":"^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$"}},"required":["cidr"]}}}},"branches_only":{"type":"boolean"}},"required":["role"]}}},"required":["user_id","roles"],"examples":[{"user_id":"55555555-5555-4555-8555-555555555555","roles":[{"role":"postgres","expires_at":1740787200,"allowed_networks":{"allowed_cidrs":[{"cidr":"203.0.113.0/24"}]},"branches_only":false}]}]}}},"name":"Updates a user mapping for JIT access","id":"supabase.v1-update-jit-access","example":{"path":{"ref":"abcdefghijklmnopqrst"},"body":{"user_id":"55555555-5555-4555-8555-555555555555","roles":[{"role":"postgres","expires_at":1740787200,"allowed_networks":{"allowed_cidrs":[{"cidr":"203.0.113.0/24"}]},"branches_only":false}]}},"maxRequests":1,"summary":false}}