Sha256: 9b0b7d38ef54244943fec12ad8ebb4ed6df4433dc83511f31592e445e789d55d
Contents?: true
Size: 565 Bytes
Versions: 19
Compression:
Stored size: 565 Bytes
Contents
# Update a user's membership attributes on a team returns "Represents a user's association to a team" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::TeamsAPI.new body = DatadogAPIClient::V2::UserTeamUpdateRequest.new({ data: DatadogAPIClient::V2::UserTeamUpdate.new({ attributes: DatadogAPIClient::V2::UserTeamAttributes.new({ role: DatadogAPIClient::V2::UserTeamRole::ADMIN, }), type: DatadogAPIClient::V2::UserTeamType::TEAM_MEMBERSHIPS, }), }) p api_instance.update_team_membership("team_id", "user_id", body)
Version data entries
19 entries across 19 versions & 1 rubygems