Hướng dẫn AgentFlow

get_unit

GET/units/{unit_id}
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Path Parameters

unit_id*string

Unit id

Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/units/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "code": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "is_archived": true,  "name": "string",  "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef"}