--- title: "/api/v{version}/accounts/{accountId}/applications/{applicationId}/components" slug: "apivversionaccountsaccountidapplicationsapplicationidcomponents-2" updated: 2025-08-20T01:02:47Z published: 2026-03-20T12:47:08Z canonical: "docs.grassfish.com/apivversionaccountsaccountidapplicationsapplicationidcomponents-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.grassfish.com/llms.txt > Use this file to discover all available pages before exploring further. # /api/v{version}/accounts/{accountId}/applications/{applicationId}/components Post/api/v{version}/accounts/{accountId}/applications/{applicationId}/components SecurityOAuth Authorization using OAuth2 with Client Credentials FlowClient Credentials Authorization URLhttps://identity.eu01.grassfish.com/connect/authorize Token URLhttps://identity.eu01.grassfish.com/connect/token Header parametersx-correlationTokenstring x-clientIdstringMin length0Max length128 x-onBehalfOfstringMin length0Max length24 api-versionstring Path parametersaccountIdstringRequired applicationIdstringRequired versionstringRequired Body parametersExpand Allobject permissions Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationComponentsParametersPermission) | null object codestring | null Min length0Max length24 idstring | null Min length0Max length128 namestring | null Min length0Max length50 permissionstring Valid values[ "None", "Enabled", "Disabled", "AddAndEdit", "ViewOnly", "Hide", "Add", "Edit", "Remove" ] Expand Allobject permissions Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationComponentsParametersPermission) | null object codestring | null Min length0Max length24 idstring | null Min length0Max length128 namestring | null Min length0Max length50 permissionstring Valid values[ "None", "Enabled", "Disabled", "AddAndEdit", "ViewOnly", "Hide", "Add", "Edit", "Remove" ] Expand Allobject permissions Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationComponentsParametersPermission) | null object codestring | null Min length0Max length24 idstring | null Min length0Max length128 namestring | null Min length0Max length50 permissionstring Valid values[ "None", "Enabled", "Disabled", "AddAndEdit", "ViewOnly", "Hide", "Add", "Edit", "Remove" ] Responses200 OK Expand Allobject successobject (Contracts.Common.Jsons.Common.SuccessJson) okboolean messagestring | null unauthorizedAccessboolean | null notFoundboolean | null correlationTokenstring | null errors Array of object (Contracts.Common.Jsons.Common.SuccessJsonError) | null object messagestring | null idstring Valid values[ "InvalidDatePeriodEndDateBeforeStartDate", "NameAlreadyTaken", "ExternalIdAlreadyTaken", "CodeAlreadyTaken" ] fieldNamestring | null isRequiredboolean | null isOutOfRangeboolean | null isTakenboolean | null errorCodestring | null defaultDisplayMessagestring | null errorCodestring | null detailsobject (Contracts.Common.Jsons.Common.ErrorDetailsJson) messagestring | null defaultDisplayMessagestring | null Expand Allobject successobject (Contracts.Common.Jsons.Common.SuccessJson) okboolean messagestring | null unauthorizedAccessboolean | null notFoundboolean | null correlationTokenstring | null errors Array of object (Contracts.Common.Jsons.Common.SuccessJsonError) | null object messagestring | null idstring Valid values[ "InvalidDatePeriodEndDateBeforeStartDate", "NameAlreadyTaken", "ExternalIdAlreadyTaken", "CodeAlreadyTaken" ] fieldNamestring | null isRequiredboolean | null isOutOfRangeboolean | null isTakenboolean | null errorCodestring | null defaultDisplayMessagestring | null errorCodestring | null detailsobject (Contracts.Common.Jsons.Common.ErrorDetailsJson) messagestring | null defaultDisplayMessagestring | null Expand Allobject successobject (Contracts.Common.Jsons.Common.SuccessJson) okboolean messagestring | null unauthorizedAccessboolean | null notFoundboolean | null correlationTokenstring | null errors Array of object (Contracts.Common.Jsons.Common.SuccessJsonError) | null object messagestring | null idstring Valid values[ "InvalidDatePeriodEndDateBeforeStartDate", "NameAlreadyTaken", "ExternalIdAlreadyTaken", "CodeAlreadyTaken" ] fieldNamestring | null isRequiredboolean | null isOutOfRangeboolean | null isTakenboolean | null errorCodestring | null defaultDisplayMessagestring | null errorCodestring | null detailsobject (Contracts.Common.Jsons.Common.ErrorDetailsJson) messagestring | null defaultDisplayMessagestring | null 400 Bad Request object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* 401 Unauthorized 403 Forbidden object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* 500 Internal Server Error