Create an audit trail
POST/api/v0/trails/
Create a trail that events can be sent to. Requires a team API key with the manage scope; a key already scoped to specific trails may not create more.
Request
Responses
- 201
- 400
- 403
- 409
- 503
The trail that was created, and the URL its producers POST to.
The name is reserved or malformed, or the body is not JSON.
Missing, invalid or under-scoped API key, or a key scoped to specific trails.
A trail with that name already exists for this tenant.
The audit log trail service is unreachable, misconfigured, running the wrong version or refusing writes, or region names a region this deployment does not serve.