Garment.id
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
HomeCore APITenant API
Support CenterChangelog
HomeCore APITenant API
Support CenterChangelog
Github
Instagram
|
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
  1. Tenant Authz
  • Authentication
    • Google OAuth Redirect
      GET
    • Google OAuth Callback
      GET
    • Register
      POST
    • Login
      POST
    • Refresh Token
      POST
    • Login with Google
      POST
    • Two Factor Challenge
      POST
    • Request Password Reset
      POST
    • Reset Password
      POST
    • Verify Email
      GET
    • Resend Verification Email
      POST
    • Select Tenant
      POST
    • Tenant Onboarding
      POST
    • Logout
      POST
    • Logout All
      POST
    • Me
      GET
  • Auth Activity
    • Auth Activities
      GET
    • Suspicious Activities
      GET
    • Tenant Auth Activities
      GET
    • User Security Activities
      GET
  • Master Data
    • Taxonomies
    • Create Taxonomy
    • Taxonomy Detail
    • Update Taxonomy
    • Delete Taxonomy
    • Suppliers
    • Create Supplier
    • Supplier Detail
    • Update Supplier
    • Delete Supplier
    • Customers
    • Create Customer
    • Customer Detail
    • Update Customer
    • Delete Customer
    • Taxonomies
    • Create Taxonomy
    • Taxonomy Detail
    • Update Taxonomy
    • Delete Taxonomy
    • Suppliers
    • Create Supplier
    • Supplier Detail
    • Update Supplier
    • Delete Supplier
    • Customers
    • Create Customer
    • Customer Detail
    • Update Customer
    • Delete Customer
  • Billing
    • Subscription
    • Subscription Entitlements
    • Change Subscription Plan
    • Cancel Subscription
    • Invoices
    • Invoice Detail
    • Billing Timeline
    • Subscription Addons
    • Create Subscription Addon
    • Deactivate Subscription Addon
    • Pause Subscription Addon
    • Resume Subscription Addon
    • Schedule Subscription Addon Cancel
    • Subscription
    • Subscription Entitlements
    • Change Subscription Plan
    • Cancel Subscription
    • Invoices
    • Invoice Detail
    • Billing Timeline
    • Subscription Addons
    • Create Subscription Addon
    • Deactivate Subscription Addon
    • Pause Subscription Addon
    • Resume Subscription Addon
    • Schedule Subscription Addon Cancel
  • Tenant Authz
    • Tenant Permissions
      GET
    • Tenant Roles
      GET
    • Create Tenant Role
      POST
    • Update Tenant Role
      PUT
    • Delete Tenant Role
      DELETE
    • Tenant Permissions
      GET
    • Tenant Roles
      GET
    • Create Tenant Role
      POST
    • Update Tenant Role
      PUT
    • Delete Tenant Role
      DELETE
  • Integrations
    • Integration Health Check
    • Integration Create Order
    • Integration Invite User
    • Integration Health Check
    • Integration Create Order
    • Integration Invite User
  • Tenant User
    • Tenant Users
    • Create Tenant User
    • Update Tenant User
    • Tenant Users
    • Create Tenant User
    • Update Tenant User
HomeCore APITenant API
Support CenterChangelog
HomeCore APITenant API
Support CenterChangelog
Github
Instagram
|
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
  1. Tenant Authz

Update Tenant Role

PUT
http://localhost/api/v1/authz/roles/{roleId}
Tenant Authz
Terakhir diubah:2026-03-03 19:40:50
OperationId:tenant.authz.role.update
Update tenant role and permission assignments

Request

Otorisasi
Berikan token Bearer anda pada header
Authorization
ketika melakukan request ke resource yang dilindungi.
Contoh:
Authorization: Bearer ********************
Path Parameter

Body Parameterapplication/jsonWajib

Contoh

Response

🟢200
application/json
Body

🟠401AuthenticationException
🟠422ValidationException
request Contoh Request
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://localhost/api/v1/authz/roles/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "description": "string",
    "permission_ids": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ]
}'
response Contoh Response
200 - Contoh 1
"string"
Diubah pada 2026-03-03 19:40:50
Sebelumnya
Create Tenant Role
Berikutnya
Delete Tenant Role
Built with