tx-agent-kit
API Reference

roles Endpoints

API endpoints for the roles resource group

roles Endpoints

GET /v1/roles

Parameters

NameInTypeRequiredDescription
cursorquerystringNo---
limitquerystringNo---
sortByquerystringNo---
sortOrderquerystringNo---

Responses

StatusDescription
200Success
400The request did not match the expected schema
401Unauthorized
402PaymentRequired
403Forbidden
404NotFound
409Conflict
429TooManyRequests
500InternalError

POST /v1/roles

Responses

StatusDescription
201Success
400The request did not match the expected schema
401Unauthorized
402PaymentRequired
403Forbidden
404NotFound
409Conflict
429TooManyRequests
500InternalError

PATCH /v1/roles/{roleId}

Parameters

NameInTypeRequiredDescription
roleIdpathstringYes---

Responses

StatusDescription
200Success
400The request did not match the expected schema
401Unauthorized
402PaymentRequired
403Forbidden
404NotFound
409Conflict
429TooManyRequests
500InternalError

DELETE /v1/roles/{roleId}

Parameters

NameInTypeRequiredDescription
roleIdpathstringYes---

Responses

StatusDescription
200Success
400The request did not match the expected schema
401Unauthorized
402PaymentRequired
403Forbidden
404NotFound
409Conflict
429TooManyRequests
500InternalError

On this page