v1

latestOpenAPI 3.0.02026-07-14169146300.3 KB
Database

Authorize user-id to role mappings for JIT access

Authorizes the request to assume a role in the project database

post/v1/projects/{ref}/database/jit

Path parameters

refstring required
Example:abcdefghijklmnopqrst

Project ref

Request body

rolestring required
rhoststring required

Example request

{
  "role": "postgres",
  "rhost": "203.0.113.10"
}

Response

user_idstring uuid required